<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>datatypes.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../vesc.jpg"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../modules.html"><span>Modules</span></a></li>
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
      <li><a href="../../globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">datatypes.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../dc/d51/datatypes_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright 2012-2014 Benjamin Vedder benjamin@vedder.se</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">    it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    (at your option) any later version.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    GNU General Public License for more details.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * datatypes.h</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *  Created on: 14 sep 2014</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *      Author: benjamin</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef DATATYPES_H_</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define DATATYPES_H_</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &quot;ch.h&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">// Data types</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299a">   33</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aac71c5841ac58a8f5bf16dfac33f18788">   34</a></span>&#160;   <a class="code" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aac71c5841ac58a8f5bf16dfac33f18788">MC_STATE_OFF</a> = 0,</div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa597f53cae221342b7f33f0321cf24e11">   35</a></span>&#160;   <a class="code" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa597f53cae221342b7f33f0321cf24e11">MC_STATE_DETECTING</a>,</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4575e6f70648dde3f7b20f859e54fc28">   36</a></span>&#160;   <a class="code" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4575e6f70648dde3f7b20f859e54fc28">MC_STATE_RUNNING</a>,</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4e58262250437716e57ced74bd8acb82">   37</a></span>&#160;   <a class="code" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4e58262250437716e57ced74bd8acb82">MC_STATE_FULL_BRAKE</a>,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299a">mc_state</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219">   40</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219a57ce0c15afd4db65a1fb04ff65ea7d4c">   41</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219a57ce0c15afd4db65a1fb04ff65ea7d4c">PWM_MODE_NONSYNCHRONOUS_HISW</a> = 0, <span class="comment">// This mode is not recommended</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219aad6b0583d241f49809bf2c9f1a67ac53">   42</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219aad6b0583d241f49809bf2c9f1a67ac53">PWM_MODE_SYNCHRONOUS</a>, <span class="comment">// The recommended and most tested mode</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219acabb6e85aa2905697e61832c74263369">   43</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219acabb6e85aa2905697e61832c74263369">PWM_MODE_BIPOLAR</a> <span class="comment">// Some glitches occasionally, can kill MOSFETs</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219">mc_pwm_mode</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381">   46</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a179a3884d7ee1098893a5cfadbcb4adf">   47</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a179a3884d7ee1098893a5cfadbcb4adf">COMM_MODE_INTEGRATE</a> = 0,</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a069f76620cf48a23fbae04002511636b">   48</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a069f76620cf48a23fbae04002511636b">COMM_MODE_DELAY</a></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381">mc_comm_mode</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004c">   51</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca26da3f21ada86df527b39703130c4fe1">   52</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca26da3f21ada86df527b39703130c4fe1">SENSOR_MODE_SENSORLESS</a> = 0,</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca0608939eec5129d57b27d069fb288037">   53</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca0608939eec5129d57b27d069fb288037">SENSOR_MODE_SENSORED</a>,</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004cae4b5bf293ca1107d8c4492d1ef615753">   54</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004cae4b5bf293ca1107d8c4492d1ef615753">SENSOR_MODE_HYBRID</a></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004c">mc_sensor_mode</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478">   57</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478aa87677e206827639d0745fbc671eaf0f">   58</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478aa87677e206827639d0745fbc671eaf0f">MOTOR_TYPE_BLDC</a> = 0,</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478a02a5ef1efdd9c820e91dc498795c29aa">   59</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478a02a5ef1efdd9c820e91dc498795c29aa">MOTOR_TYPE_DC</a>,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478">mc_motor_type</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14">   62</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a5179ac0d019011be741f3b7f2855929c">   63</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a5179ac0d019011be741f3b7f2855929c">FAULT_CODE_NONE</a> = 0,</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a7afb161718e0c92038bb212221870947">   64</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a7afb161718e0c92038bb212221870947">FAULT_CODE_OVER_VOLTAGE</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a86d0264a2131c058cf6e696b9f15177e">   65</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a86d0264a2131c058cf6e696b9f15177e">FAULT_CODE_UNDER_VOLTAGE</a>,</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14aa7bb0aad7252109fe92a6ab0417d8b22">   66</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14aa7bb0aad7252109fe92a6ab0417d8b22">FAULT_CODE_DRV8302</a>,</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14af1c8212f6a1da5edbcf32aaa9ecbe007">   67</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14af1c8212f6a1da5edbcf32aaa9ecbe007">FAULT_CODE_ABS_OVER_CURRENT</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a319ff357d75452048d17d79501bd5c24">   68</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a319ff357d75452048d17d79501bd5c24">FAULT_CODE_OVER_TEMP_FET</a>,</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a58d34f5b4e5cd780d9c38baf3b6be0f3">   69</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a58d34f5b4e5cd780d9c38baf3b6be0f3">FAULT_CODE_OVER_TEMP_MOTOR</a></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14">mc_fault_code</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3a">   72</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa93e7c0157c84df0a6cbb35014aa641db">   73</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa93e7c0157c84df0a6cbb35014aa641db">CONTROL_MODE_DUTY</a> = 0,</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aaf9b3215d6a5ab6424029184a295a0477">   74</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aaf9b3215d6a5ab6424029184a295a0477">CONTROL_MODE_SPEED</a>,</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aade2fb82076de808edf1b3f93f589b97a">   75</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aade2fb82076de808edf1b3f93f589b97a">CONTROL_MODE_CURRENT</a>,</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aac9d533bea7ba2c52bf5a72130bbd4edf">   76</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aac9d533bea7ba2c52bf5a72130bbd4edf">CONTROL_MODE_CURRENT_BRAKE</a>,</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa6648bd5764bb986f570e2842afaec318">   77</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa6648bd5764bb986f570e2842afaec318">CONTROL_MODE_POS</a>,</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa055e8c6d1e2515a14a1c88b271c3adb7">   78</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa055e8c6d1e2515a14a1c88b271c3adb7">CONTROL_MODE_NONE</a></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3a">mc_control_mode</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html">   81</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#a0c4b22dc60c287582302e3b4616f40e9">   82</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#a0c4b22dc60c287582302e3b4616f40e9">cycle_int_limit</a>;</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#ac5df70776f630c4f834ab3b7ab6b6aad">   83</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#ac5df70776f630c4f834ab3b7ab6b6aad">cycle_int_limit_running</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#a041d4ba0303be09df2bcf67b1869365e">   84</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#a041d4ba0303be09df2bcf67b1869365e">cycle_int_limit_max</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#ac4b97a81e08b8daeafea910ee057d671">   85</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#ac4b97a81e08b8daeafea910ee057d671">comm_time_sum</a>;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#a001a4ddd0c17d7611243fac30dd323a3">   86</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#a001a4ddd0c17d7611243fac30dd323a3">comm_time_sum_min_rpm</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#afe45d132bfaf495685c97e97721151db">   87</a></span>&#160;    int32_t <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#afe45d132bfaf495685c97e97721151db">comms</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="../../d2/df7/structmc__rpm__dep__struct.html#a2818616e9041447e693afed3790e59a9">   88</a></span>&#160;    uint32_t <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html#a2818616e9041447e693afed3790e59a9">time_at_comm</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;} <a class="code" href="../../d2/df7/structmc__rpm__dep__struct.html">mc_rpm_dep_struct</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html">   91</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="comment">// Switching and drive</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a00e6190070063b53a8228af93782341e">   93</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219">mc_pwm_mode</a> <a class="code" href="../../d5/d42/structmc__configuration.html#a00e6190070063b53a8228af93782341e">pwm_mode</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a919f219d2e547abef12fe6c33722047d">   94</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381">mc_comm_mode</a> <a class="code" href="../../d5/d42/structmc__configuration.html#a919f219d2e547abef12fe6c33722047d">comm_mode</a>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a81f8b91165f3512cdaaa5d6aeebdc0d1">   95</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478">mc_motor_type</a> <a class="code" href="../../d5/d42/structmc__configuration.html#a81f8b91165f3512cdaaa5d6aeebdc0d1">motor_type</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a01aeaaa281fbdd5588fce5b61123575f">   96</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004c">mc_sensor_mode</a> <a class="code" href="../../d5/d42/structmc__configuration.html#a01aeaaa281fbdd5588fce5b61123575f">sensor_mode</a>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="comment">// Limits</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a5622ff0a32ac4f1498afad27fc7a2882">   98</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a5622ff0a32ac4f1498afad27fc7a2882">l_current_max</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#af72e559680007cb78c16bff9e53c68df">   99</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#af72e559680007cb78c16bff9e53c68df">l_current_min</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a18eb33967c4b308c0940abfdf0b409dc">  100</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a18eb33967c4b308c0940abfdf0b409dc">l_in_current_max</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ace17089c4e598be927685c7058ec0ff5">  101</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ace17089c4e598be927685c7058ec0ff5">l_in_current_min</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ae464f58911db79e30bad064b2bf3ada5">  102</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ae464f58911db79e30bad064b2bf3ada5">l_abs_current_max</a>;</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a313a93ffd88ae42465aba4dfbe59f412">  103</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a313a93ffd88ae42465aba4dfbe59f412">l_min_erpm</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ac8b3bd05050c7087926d28402df9f7c2">  104</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ac8b3bd05050c7087926d28402df9f7c2">l_max_erpm</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a52e2a652f509ca16b7ca8c5a77438ac7">  105</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a52e2a652f509ca16b7ca8c5a77438ac7">l_max_erpm_fbrake</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a55258b3409d6a4183c7ab5f05eda0c5b">  106</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a55258b3409d6a4183c7ab5f05eda0c5b">l_max_erpm_fbrake_cc</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a1ce4b780a12f17319c5a1defc3305794">  107</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a1ce4b780a12f17319c5a1defc3305794">l_min_vin</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a5fb012cdba2ef88fcd7e5b8bda58827e">  108</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a5fb012cdba2ef88fcd7e5b8bda58827e">l_max_vin</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a8dabc758e426163cfab7ea5718231c67">  109</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a8dabc758e426163cfab7ea5718231c67">l_battery_cut_start</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a6b2c24b36af0db9e24ba1ee923f8b580">  110</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a6b2c24b36af0db9e24ba1ee923f8b580">l_battery_cut_end</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a9a151a98f6a679d95c7bdf854d975380">  111</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a9a151a98f6a679d95c7bdf854d975380">l_slow_abs_current</a>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ab20c0d5436bbaca1ed181a052c449732">  112</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ab20c0d5436bbaca1ed181a052c449732">l_rpm_lim_neg_torque</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a308a67551f12c4d35b591ae3bb4ef160">  113</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a308a67551f12c4d35b591ae3bb4ef160">l_temp_fet_start</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a964e8103e9e1200a63f0cd2fbedf4a9d">  114</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a964e8103e9e1200a63f0cd2fbedf4a9d">l_temp_fet_end</a>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ae83b30a96031a38d8673ecab5dced683">  115</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ae83b30a96031a38d8673ecab5dced683">l_temp_motor_start</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a67aa2cfad7f82694e37f6d94f1e62ffc">  116</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a67aa2cfad7f82694e37f6d94f1e62ffc">l_temp_motor_end</a>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#afd9fb53e51368d7897b5a9a04964ff93">  117</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#afd9fb53e51368d7897b5a9a04964ff93">l_min_duty</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a1b4207ce4dd43bdbe92e6e9107f9cb10">  118</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a1b4207ce4dd43bdbe92e6e9107f9cb10">l_max_duty</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="comment">// Overridden limits (Computed during runtime)</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a3a5ac920dcbd768a52ebaecc58ae7302">  120</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a3a5ac920dcbd768a52ebaecc58ae7302">lo_current_max</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a13e0eed5b6b3357e623f28c80ff632cd">  121</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a13e0eed5b6b3357e623f28c80ff632cd">lo_current_min</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a1fcbc230c699c0d9c78bdbf6dee5cb37">  122</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a1fcbc230c699c0d9c78bdbf6dee5cb37">lo_in_current_max</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ad101b945a41e86598b19b452f007923e">  123</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ad101b945a41e86598b19b452f007923e">lo_in_current_min</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="comment">// Sensorless</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#af80f4859ec2d84aa984c97ef356b758b">  125</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#af80f4859ec2d84aa984c97ef356b758b">sl_min_erpm</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#aee0b0da633a6ebee014202131b4ac861">  126</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#aee0b0da633a6ebee014202131b4ac861">sl_min_erpm_cycle_int_limit</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a9e6ad133da71aca2d364a8ada768c353">  127</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a9e6ad133da71aca2d364a8ada768c353">sl_max_fullbreak_current_dir_change</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a81cccf58406c6dcbd2ac1f33584fdece">  128</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a81cccf58406c6dcbd2ac1f33584fdece">sl_cycle_int_limit</a>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#af9abc755b896ab32e4977132ed46bcd0">  129</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#af9abc755b896ab32e4977132ed46bcd0">sl_phase_advance_at_br</a>;</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a0eb54e47a9bf75ccd98d883502a6970b">  130</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a0eb54e47a9bf75ccd98d883502a6970b">sl_cycle_int_rpm_br</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a3b419e6bc7a36748a96271d4b1886c65">  131</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a3b419e6bc7a36748a96271d4b1886c65">sl_bemf_coupling_k</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="comment">// Hall sensor</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ad6dc27750aea4c7ee51b764b13787a91">  133</a></span>&#160;    int8_t hall_table[8];</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a5281292055aacf184ce7901009fe6d48">  134</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a5281292055aacf184ce7901009fe6d48">hall_sl_erpm</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="comment">// Speed PID</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a943d7abfab2e78c3e9c2a742786b0c80">  136</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a943d7abfab2e78c3e9c2a742786b0c80">s_pid_kp</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#af7ca0aa3079984e6db212c28a9dd2a43">  137</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#af7ca0aa3079984e6db212c28a9dd2a43">s_pid_ki</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a81413d71782a05e9e011c90e2ffd1503">  138</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a81413d71782a05e9e011c90e2ffd1503">s_pid_kd</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#aeae9e433de624b8b78a8745ca64c1028">  139</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#aeae9e433de624b8b78a8745ca64c1028">s_pid_min_rpm</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="comment">// Pos PID</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ac8f3cdb8123a874f020098dc2face160">  141</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ac8f3cdb8123a874f020098dc2face160">p_pid_kp</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a4f615fe7428171eea45871496b65d0f1">  142</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a4f615fe7428171eea45871496b65d0f1">p_pid_ki</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#af479d5361b066a3450471994cbc4e287">  143</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#af479d5361b066a3450471994cbc4e287">p_pid_kd</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="comment">// Current controller</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a0fa78782248ba6a417da07d123778396">  145</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a0fa78782248ba6a417da07d123778396">cc_startup_boost_duty</a>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#ab1659656f0b696fb5fba853b0f25cd77">  146</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#ab1659656f0b696fb5fba853b0f25cd77">cc_min_current</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a40f9e6336b4bebfd7c579cc090ec6fc1">  147</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a40f9e6336b4bebfd7c579cc090ec6fc1">cc_gain</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a48c6623ba051d1d5d1d623e06d917cb5">  148</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a48c6623ba051d1d5d1d623e06d917cb5">cc_ramp_step_max</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="comment">// Misc</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a71188a482f49f2632fdc464f21ee5038">  150</a></span>&#160;    int32_t <a class="code" href="../../d5/d42/structmc__configuration.html#a71188a482f49f2632fdc464f21ee5038">m_fault_stop_time_ms</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#aaa9b355af83f22910358f1076bbadadc">  151</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#aaa9b355af83f22910358f1076bbadadc">m_duty_ramp_step</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a803580baf975490ec04e14c6ab0a8b3d">  152</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a803580baf975490ec04e14c6ab0a8b3d">m_duty_ramp_step_rpm_lim</a>;</div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="../../d5/d42/structmc__configuration.html#a01486a7e4db3025bc328ebffeaa6a705">  153</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d5/d42/structmc__configuration.html#a01486a7e4db3025bc328ebffeaa6a705">m_current_backoff_gain</a>;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;} <a class="code" href="../../d5/d42/structmc__configuration.html">mc_configuration</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">// Applications to use</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9">  157</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a7bca2359659d0a9947d18ede8e21519c">  158</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a7bca2359659d0a9947d18ede8e21519c">APP_NONE</a> = 0,</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a4a23d06fd6918abc648329178346a424">  159</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a4a23d06fd6918abc648329178346a424">APP_PPM</a>,</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9aac019501cc4c82bc1ab6be5574072232">  160</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9aac019501cc4c82bc1ab6be5574072232">APP_ADC</a>,</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a31fa1b345d811baa86d38da09fbba412">  161</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a31fa1b345d811baa86d38da09fbba412">APP_UART</a>,</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9ab459c63068f2959408fbc77bb731ee68">  162</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9ab459c63068f2959408fbc77bb731ee68">APP_PPM_UART</a>,</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a751b0feaf073eca6f93e7d866dd82dc5">  163</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a751b0feaf073eca6f93e7d866dd82dc5">APP_ADC_UART</a>,</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9abd1314099570c43e7a9ad4029f1c85c7">  164</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9abd1314099570c43e7a9ad4029f1c85c7">APP_NUNCHUK</a>,</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a042a1fdd0da8a5251cb542b2f7e67205">  165</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a042a1fdd0da8a5251cb542b2f7e67205">APP_NRF</a>,</div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a9309f6212dc4e4811007e77cb9d3392b">  166</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a9309f6212dc4e4811007e77cb9d3392b">APP_CUSTOM</a></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9">app_use</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment">// PPM control types</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962">  170</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a1c57aabdf33692f25efd90a77b721038">  171</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a1c57aabdf33692f25efd90a77b721038">PPM_CTRL_TYPE_NONE</a> = 0,</div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a74ea59a506bbf3544bf6268f0a0b765f">  172</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a74ea59a506bbf3544bf6268f0a0b765f">PPM_CTRL_TYPE_CURRENT</a>,</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962acdb5037405eb9d3f38fe19b7c2ee28a3">  173</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962acdb5037405eb9d3f38fe19b7c2ee28a3">PPM_CTRL_TYPE_CURRENT_NOREV</a>,</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962af7efb4895bdbfef16233d521d10880ce">  174</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962af7efb4895bdbfef16233d521d10880ce">PPM_CTRL_TYPE_CURRENT_NOREV_BRAKE</a>,</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab3c315a9afa1609070eb7af06eebfd7b">  175</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab3c315a9afa1609070eb7af06eebfd7b">PPM_CTRL_TYPE_DUTY</a>,</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a112d8b125c478567c938e3be4e653589">  176</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a112d8b125c478567c938e3be4e653589">PPM_CTRL_TYPE_DUTY_NOREV</a>,</div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab721f6a450fb8ec078f786529b4365e2">  177</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab721f6a450fb8ec078f786529b4365e2">PPM_CTRL_TYPE_PID</a>,</div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a5a00595f7737f557c0c5cdc4f3cf6c11">  178</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a5a00595f7737f557c0c5cdc4f3cf6c11">PPM_CTRL_TYPE_PID_NOREV</a></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962">ppm_control_type</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html">  181</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a373a0b006245c186188e4ac68f39db9d">  182</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962">ppm_control_type</a> <a class="code" href="../../da/d8f/structppm__config.html#a373a0b006245c186188e4ac68f39db9d">ctrl_type</a>;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#ab44dc353a60628f787620a4faec3ac11">  183</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#ab44dc353a60628f787620a4faec3ac11">pid_max_erpm</a>;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">  184</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">hyst</a>;</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#ad8f148ffc8779a35824ea7f52617d290">  185</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#ad8f148ffc8779a35824ea7f52617d290">pulse_start</a>;</div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a74a3425e91dd2001e1dcbee9b62db563">  186</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#a74a3425e91dd2001e1dcbee9b62db563">pulse_end</a>;</div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a281ed007208faa9df73da0d4ddb35b0a">  187</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d8f/structppm__config.html#a281ed007208faa9df73da0d4ddb35b0a">median_filter</a>;</div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">  188</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d8f/structppm__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">safe_start</a>;</div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a009df1769dd668beb51124d481f57917">  189</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#a009df1769dd668beb51124d481f57917">rpm_lim_start</a>;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a52298130b8eeda979a0ebe2f8683cf7f">  190</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#a52298130b8eeda979a0ebe2f8683cf7f">rpm_lim_end</a>;</div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a0adcb4125f8defe13178bad39f30b5f9">  191</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d8f/structppm__config.html#a0adcb4125f8defe13178bad39f30b5f9">multi_esc</a>;</div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#adb12b652190d775d7d98e95fcde39856">  192</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d8f/structppm__config.html#adb12b652190d775d7d98e95fcde39856">tc</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="../../da/d8f/structppm__config.html#a08878e275186fe365e2e23cc038fed07">  193</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../da/d8f/structppm__config.html#a08878e275186fe365e2e23cc038fed07">tc_max_diff</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;} <a class="code" href="../../da/d8f/structppm__config.html">ppm_config</a>;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;<span class="comment">// ADC control types</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3">  197</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a4718bd681236c9d28a59aa7a341c9977">  198</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a4718bd681236c9d28a59aa7a341c9977">ADC_CTRL_TYPE_NONE</a> = 0,</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab24beab4b90653ac8a52292f81fb22b2">  199</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab24beab4b90653ac8a52292f81fb22b2">ADC_CTRL_TYPE_CURRENT</a>,</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab6580724ba7e371f11d2a1067a8fbd2f">  200</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab6580724ba7e371f11d2a1067a8fbd2f">ADC_CTRL_TYPE_CURRENT_REV_CENTER</a>,</div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ac3115d6a56b4a70216d9dbc3b69cc5c1">  201</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ac3115d6a56b4a70216d9dbc3b69cc5c1">ADC_CTRL_TYPE_CURRENT_REV_BUTTON</a>,</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a94e373aad21487b7fddba16d46e7171b">  202</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a94e373aad21487b7fddba16d46e7171b">ADC_CTRL_TYPE_CURRENT_NOREV_BRAKE_CENTER</a>,</div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a66fef71e3e029699d0e5559030f545b7">  203</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a66fef71e3e029699d0e5559030f545b7">ADC_CTRL_TYPE_CURRENT_NOREV_BRAKE_BUTTON</a>,</div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a35bfb399655f86ba7e3f5c111b11bd18">  204</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a35bfb399655f86ba7e3f5c111b11bd18">ADC_CTRL_TYPE_DUTY</a>,</div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a5d81e24461214c7e62a57f05da77a4ab">  205</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a5d81e24461214c7e62a57f05da77a4ab">ADC_CTRL_TYPE_DUTY_REV_CENTER</a>,</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a32452073053edc9902338804f6d82d62">  206</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a32452073053edc9902338804f6d82d62">ADC_CTRL_TYPE_DUTY_REV_BUTTON</a></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3">adc_control_type</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html">  209</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a2271ca0b113635b426295363d2a8966b">  210</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3">adc_control_type</a> <a class="code" href="../../db/d90/structadc__config.html#a2271ca0b113635b426295363d2a8966b">ctrl_type</a>;</div>
<div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">  211</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">hyst</a>;</div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#abc0cfadc3208aed2809d929b7949ce75">  212</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#abc0cfadc3208aed2809d929b7949ce75">voltage_start</a>;</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#abca4948ec2e9155db78f582dd5d33b94">  213</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#abca4948ec2e9155db78f582dd5d33b94">voltage_end</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a77d720c38d2b1bb1b766ab943757e447">  214</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#a77d720c38d2b1bb1b766ab943757e447">use_filter</a>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">  215</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">safe_start</a>;</div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a3e9b1c323146cc42a82130c1ed1bea06">  216</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#a3e9b1c323146cc42a82130c1ed1bea06">cc_button_inverted</a>;</div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a0f81ffa0c15d572fd5f2db1a202cb3a6">  217</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#a0f81ffa0c15d572fd5f2db1a202cb3a6">rev_button_inverted</a>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a2053cd9e4ef0e3b51e6aa935fa42c45f">  218</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#a2053cd9e4ef0e3b51e6aa935fa42c45f">voltage_inverted</a>;</div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a009df1769dd668beb51124d481f57917">  219</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#a009df1769dd668beb51124d481f57917">rpm_lim_start</a>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a52298130b8eeda979a0ebe2f8683cf7f">  220</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#a52298130b8eeda979a0ebe2f8683cf7f">rpm_lim_end</a>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a0adcb4125f8defe13178bad39f30b5f9">  221</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#a0adcb4125f8defe13178bad39f30b5f9">multi_esc</a>;</div>
<div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#adb12b652190d775d7d98e95fcde39856">  222</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d90/structadc__config.html#adb12b652190d775d7d98e95fcde39856">tc</a>;</div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#a08878e275186fe365e2e23cc038fed07">  223</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d90/structadc__config.html#a08878e275186fe365e2e23cc038fed07">tc_max_diff</a>;</div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="../../db/d90/structadc__config.html#af178fc28ad969574845764c755066cdc">  224</a></span>&#160;    uint32_t <a class="code" href="../../db/d90/structadc__config.html#af178fc28ad969574845764c755066cdc">update_rate_hz</a>;</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;} <a class="code" href="../../db/d90/structadc__config.html">adc_config</a>;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;<span class="comment">// Nunchuk control types</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7d">  228</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da1d807736964ef064079939582deea727">  229</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da1d807736964ef064079939582deea727">CHUK_CTRL_TYPE_NONE</a> = 0,</div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da06cd901f8d4d629094cef034b71363e3">  230</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da06cd901f8d4d629094cef034b71363e3">CHUK_CTRL_TYPE_CURRENT</a>,</div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da75e41aee0976ea5a3ed44a40c7c005e0">  231</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da75e41aee0976ea5a3ed44a40c7c005e0">CHUK_CTRL_TYPE_CURRENT_NOREV</a></div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7d">chuk_control_type</a>;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html">  234</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#ac1d307a95ac9b31f6a0ec8293e3544af">  235</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7d">chuk_control_type</a> <a class="code" href="../../d1/d77/structchuk__config.html#ac1d307a95ac9b31f6a0ec8293e3544af">ctrl_type</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">  236</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">hyst</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a009df1769dd668beb51124d481f57917">  237</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a009df1769dd668beb51124d481f57917">rpm_lim_start</a>;</div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a52298130b8eeda979a0ebe2f8683cf7f">  238</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a52298130b8eeda979a0ebe2f8683cf7f">rpm_lim_end</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a034d5bee148a1c658826178f3ff0ef6e">  239</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a034d5bee148a1c658826178f3ff0ef6e">ramp_time_pos</a>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a98001969910108af166d52641951d0b8">  240</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a98001969910108af166d52641951d0b8">ramp_time_neg</a>;</div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a0adcb4125f8defe13178bad39f30b5f9">  241</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d1/d77/structchuk__config.html#a0adcb4125f8defe13178bad39f30b5f9">multi_esc</a>;</div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#adb12b652190d775d7d98e95fcde39856">  242</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d1/d77/structchuk__config.html#adb12b652190d775d7d98e95fcde39856">tc</a>;</div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="../../d1/d77/structchuk__config.html#a08878e275186fe365e2e23cc038fed07">  243</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d1/d77/structchuk__config.html#a08878e275186fe365e2e23cc038fed07">tc_max_diff</a>;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;} <a class="code" href="../../d1/d77/structchuk__config.html">chuk_config</a>;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html">  246</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="comment">// Settings</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#a717df0c5daa0a9d46bb055c05a3f7f8d">  248</a></span>&#160;    uint8_t <a class="code" href="../../d6/dc1/structapp__configuration.html#a717df0c5daa0a9d46bb055c05a3f7f8d">controller_id</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#a683fbd7162eec3313289bc266a921260">  249</a></span>&#160;    uint32_t <a class="code" href="../../d6/dc1/structapp__configuration.html#a683fbd7162eec3313289bc266a921260">timeout_msec</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#a9181ad14758fc2144ab3fa47b6018f43">  250</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d6/dc1/structapp__configuration.html#a9181ad14758fc2144ab3fa47b6018f43">timeout_brake_current</a>;</div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#a836945654c96862d15e0d6c60c386524">  251</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../d6/dc1/structapp__configuration.html#a836945654c96862d15e0d6c60c386524">send_can_status</a>;</div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#ab07c6709ecea9b0050dc9715a9b6691c">  252</a></span>&#160;    uint32_t <a class="code" href="../../d6/dc1/structapp__configuration.html#ab07c6709ecea9b0050dc9715a9b6691c">send_can_status_rate_hz</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="comment">// Application to use</span></div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#ad0e21afe6190d34ff0949ab4afd2f282">  255</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9">app_use</a> <a class="code" href="../../d6/dc1/structapp__configuration.html#ad0e21afe6190d34ff0949ab4afd2f282">app_to_use</a>;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="comment">// PPM application settings</span></div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#ae1fcb181f036475af4fcc877c0573405">  258</a></span>&#160;    <a class="code" href="../../da/d8f/structppm__config.html">ppm_config</a> <a class="code" href="../../d6/dc1/structapp__configuration.html#ae1fcb181f036475af4fcc877c0573405">app_ppm_conf</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="comment">// ADC application settings</span></div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#aeca087607cd92575d2d8d235537e1e3f">  261</a></span>&#160;    <a class="code" href="../../db/d90/structadc__config.html">adc_config</a> <a class="code" href="../../d6/dc1/structapp__configuration.html#aeca087607cd92575d2d8d235537e1e3f">app_adc_conf</a>;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="comment">// UART application settings</span></div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#a28607a6f6405f9f63e1d9821795a9050">  264</a></span>&#160;    uint32_t <a class="code" href="../../d6/dc1/structapp__configuration.html#a28607a6f6405f9f63e1d9821795a9050">app_uart_baudrate</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    <span class="comment">// Nunchuk application settings</span></div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="../../d6/dc1/structapp__configuration.html#ac8ffe30321ad64ca1cf0e404f7b70c29">  267</a></span>&#160;    <a class="code" href="../../d1/d77/structchuk__config.html">chuk_config</a> <a class="code" href="../../d6/dc1/structapp__configuration.html#ac8ffe30321ad64ca1cf0e404f7b70c29">app_chuk_conf</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;} <a class="code" href="../../d6/dc1/structapp__configuration.html">app_configuration</a>;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="comment">// Communication commands</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06">  271</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a9114644b124e5e1a87e212bd6a80291e">  272</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a9114644b124e5e1a87e212bd6a80291e">COMM_FW_VERSION</a> = 0,</div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8f6e18ca06469c84af097120e26ff8af">  273</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8f6e18ca06469c84af097120e26ff8af">COMM_JUMP_TO_BOOTLOADER</a>,</div>
<div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a719eb6161f2dc4b77982f3729791e2b2">  274</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a719eb6161f2dc4b77982f3729791e2b2">COMM_ERASE_NEW_APP</a>,</div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a48b9e57fbee927c5c82b58d68e463f2b">  275</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a48b9e57fbee927c5c82b58d68e463f2b">COMM_WRITE_NEW_APP_DATA</a>,</div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06acc526a8f876180f1191ee3f2572bc772">  276</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06acc526a8f876180f1191ee3f2572bc772">COMM_GET_VALUES</a>,</div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7df58630ac01bddca8e7b9fc1510884b">  277</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7df58630ac01bddca8e7b9fc1510884b">COMM_SET_DUTY</a>,</div>
<div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a25b42a743b3b05ba5ab080c4b6dd9480">  278</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a25b42a743b3b05ba5ab080c4b6dd9480">COMM_SET_CURRENT</a>,</div>
<div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a2bd6060e9fa9f15571c57e3772546982">  279</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a2bd6060e9fa9f15571c57e3772546982">COMM_SET_CURRENT_BRAKE</a>,</div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ace0693aa4ec9e8a852db0d87faee6425">  280</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ace0693aa4ec9e8a852db0d87faee6425">COMM_SET_RPM</a>,</div>
<div class="line"><a name="l00281"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a82faae68e7d16a9b315d05bd8857f6c9">  281</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a82faae68e7d16a9b315d05bd8857f6c9">COMM_SET_POS</a>,</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a315b2cb6cf4732e84425d9bca355ec49">  282</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a315b2cb6cf4732e84425d9bca355ec49">COMM_SET_DETECT</a>,</div>
<div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a0d49a9291ac112070057347d466ed14f">  283</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a0d49a9291ac112070057347d466ed14f">COMM_SET_SERVO_POS</a>,</div>
<div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06afc4a70ff0738b5c0970972b3b73398d0">  284</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06afc4a70ff0738b5c0970972b3b73398d0">COMM_SET_MCCONF</a>,</div>
<div class="line"><a name="l00285"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8e1da6ec3e3830364882a22d0ea5d7da">  285</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8e1da6ec3e3830364882a22d0ea5d7da">COMM_GET_MCCONF</a>,</div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ae3c68ebf90627972c79369018415d82a">  286</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ae3c68ebf90627972c79369018415d82a">COMM_SET_APPCONF</a>,</div>
<div class="line"><a name="l00287"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abfb916e6013b1d0a14b6a292cfe8c335">  287</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abfb916e6013b1d0a14b6a292cfe8c335">COMM_GET_APPCONF</a>,</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7e51a787bf2107f0d03c65f416dce143">  288</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7e51a787bf2107f0d03c65f416dce143">COMM_SAMPLE_PRINT</a>,</div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ac6ded17ab9d4add070d8bf0c41c2145f">  289</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ac6ded17ab9d4add070d8bf0c41c2145f">COMM_TERMINAL_CMD</a>,</div>
<div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af37add9f535bb3c7b1bf4bf50b023dfe">  290</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af37add9f535bb3c7b1bf4bf50b023dfe">COMM_PRINT</a>,</div>
<div class="line"><a name="l00291"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abce28f7700145eafabae44ac1c723bce">  291</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abce28f7700145eafabae44ac1c723bce">COMM_ROTOR_POSITION</a>,</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab73a277c2cfba454f3c940d2f0f868d4">  292</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab73a277c2cfba454f3c940d2f0f868d4">COMM_EXPERIMENT_SAMPLE</a>,</div>
<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ad32486ca305b9b4b12930d6fff4c6ec0">  293</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ad32486ca305b9b4b12930d6fff4c6ec0">COMM_DETECT_MOTOR_PARAM</a>,</div>
<div class="line"><a name="l00294"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abb1b56d29127e55ec98d1d5e35e1940d">  294</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abb1b56d29127e55ec98d1d5e35e1940d">COMM_REBOOT</a>,</div>
<div class="line"><a name="l00295"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af45c7bd521782fe5ad918ea51b7410ba">  295</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af45c7bd521782fe5ad918ea51b7410ba">COMM_ALIVE</a>,</div>
<div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a62dff179eaff8e830371051535c337e7">  296</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a62dff179eaff8e830371051535c337e7">COMM_GET_DECODED_PPM</a>,</div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab59b2e56bad686f0f97b612e5ae23bf9">  297</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab59b2e56bad686f0f97b612e5ae23bf9">COMM_GET_DECODED_ADC</a>,</div>
<div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a6b2f29dd04923a388f16802c8d0b38cd">  298</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a6b2f29dd04923a388f16802c8d0b38cd">COMM_GET_DECODED_CHUK</a>,</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a18ede091afd50bc8082e937caba1b64a">  299</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a18ede091afd50bc8082e937caba1b64a">COMM_FORWARD_CAN</a></div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06">COMM_PACKET_ID</a>;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="comment">// CAN commands</span></div>
<div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4">  303</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00304"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a520020025a8c4d7a47977c9c14afbac4">  304</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a520020025a8c4d7a47977c9c14afbac4">CAN_PACKET_SET_DUTY</a> = 0,</div>
<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4aa4b9d8c38af5a5b4c47ee8959eb2051d">  305</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4aa4b9d8c38af5a5b4c47ee8959eb2051d">CAN_PACKET_SET_CURRENT</a>,</div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a9b5231258af18e74c5e1af24f50fcc85">  306</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a9b5231258af18e74c5e1af24f50fcc85">CAN_PACKET_SET_CURRENT_BRAKE</a>,</div>
<div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a7aea54f9ed6fd687491d48a4f984423c">  307</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a7aea54f9ed6fd687491d48a4f984423c">CAN_PACKET_SET_RPM</a>,</div>
<div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a149f262561273a167ffa1f0aa822fce8">  308</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a149f262561273a167ffa1f0aa822fce8">CAN_PACKET_SET_POS</a>,</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a30141b1b00d31d46875f48b903ec3ed2">  309</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a30141b1b00d31d46875f48b903ec3ed2">CAN_PACKET_FILL_RX_BUFFER</a>,</div>
<div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a0fa391cdc4e64c9a45c7a20f78277bec">  310</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a0fa391cdc4e64c9a45c7a20f78277bec">CAN_PACKET_FILL_RX_BUFFER_LONG</a>,</div>
<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4ae7319caf475887186e55846222ca1ec2">  311</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4ae7319caf475887186e55846222ca1ec2">CAN_PACKET_PROCESS_RX_BUFFER</a>,</div>
<div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a729709fcbbc31c151bcbb86c82978c17">  312</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a729709fcbbc31c151bcbb86c82978c17">CAN_PACKET_PROCESS_SHORT_BUFFER</a>,</div>
<div class="line"><a name="l00313"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a228dea7fe56d0382bdd83fc99d185f03">  313</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a228dea7fe56d0382bdd83fc99d185f03">CAN_PACKET_STATUS</a></div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4">CAN_PACKET_ID</a>;</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="comment">// Logged fault data</span></div>
<div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html">  317</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#aa9b1900f4f49ae926cb51e920e83e7f1">  318</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14">mc_fault_code</a> <a class="code" href="../../d0/d6a/structfault__data.html#aa9b1900f4f49ae926cb51e920e83e7f1">fault</a>;</div>
<div class="line"><a name="l00319"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#af9653d31acfffa5a40aa709b2065e00b">  319</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#af9653d31acfffa5a40aa709b2065e00b">current</a>;</div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#af5c975d24ce2eb03d1deed3819d8d39d">  320</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#af5c975d24ce2eb03d1deed3819d8d39d">current_filtered</a>;</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a47061fcae597f83f8a0a99d4b7b5a5c1">  321</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#a47061fcae597f83f8a0a99d4b7b5a5c1">voltage</a>;</div>
<div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a70f44948d7630be99b15ecac985a502f">  322</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#a70f44948d7630be99b15ecac985a502f">duty</a>;</div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a25e39b399c2a11f0d76e42ab8241a910">  323</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#a25e39b399c2a11f0d76e42ab8241a910">rpm</a>;</div>
<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a9a6514335a0acc707caee25a88698919">  324</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#a9a6514335a0acc707caee25a88698919">tacho</a>;</div>
<div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a246d9768fab4df5814c97313f2d0b177">  325</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#a246d9768fab4df5814c97313f2d0b177">cycles_running</a>;</div>
<div class="line"><a name="l00326"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#a0ff6cecbd2386a32bdaa09d12b0d64a4">  326</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#a0ff6cecbd2386a32bdaa09d12b0d64a4">pwm_cycles</a>;</div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#acb424372bd0ffdc122aab91b749c96dc">  327</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#acb424372bd0ffdc122aab91b749c96dc">tim_val_samp</a>;</div>
<div class="line"><a name="l00328"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#ab8c9f702ff4f0ed843d7af91d35a2f6e">  328</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#ab8c9f702ff4f0ed843d7af91d35a2f6e">tim_current_samp</a>;</div>
<div class="line"><a name="l00329"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#aee6c4f422f48b4464d9daf305280967a">  329</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#aee6c4f422f48b4464d9daf305280967a">tim_top</a>;</div>
<div class="line"><a name="l00330"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#aa6ce985078ba696f002d9cf36f32a894">  330</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../d0/d6a/structfault__data.html#aa6ce985078ba696f002d9cf36f32a894">comm_step</a>;</div>
<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="../../d0/d6a/structfault__data.html#afc1d28cfbce795d6ea954ebe725241f5">  331</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../d0/d6a/structfault__data.html#afc1d28cfbce795d6ea954ebe725241f5">temperature</a>;</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;} <a class="code" href="../../d0/d6a/structfault__data.html">fault_data</a>;</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;<span class="comment">// External LED state</span></div>
<div class="line"><a name="l00335"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505">  335</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00336"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a92635634256603a03fad1d57b940dd30">  336</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a92635634256603a03fad1d57b940dd30">LED_EXT_OFF</a> = 0,</div>
<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505aa3592490accd089dc94491ebccd316b7">  337</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505aa3592490accd089dc94491ebccd316b7">LED_EXT_NORMAL</a>,</div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505affd263c424a856a742c7942509a4e82e">  338</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505affd263c424a856a742c7942509a4e82e">LED_EXT_BRAKE</a>,</div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a525f0b00138d9c57963ba14d875c77c8">  339</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a525f0b00138d9c57963ba14d875c77c8">LED_EXT_TURN_LEFT</a>,</div>
<div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505ad84ba71862b4ebf67a301728848f79bc">  340</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505ad84ba71862b4ebf67a301728848f79bc">LED_EXT_TURN_RIGHT</a>,</div>
<div class="line"><a name="l00341"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a892af8687978782b4f180b41c1d7f870">  341</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a892af8687978782b4f180b41c1d7f870">LED_EXT_BRAKE_TURN_LEFT</a>,</div>
<div class="line"><a name="l00342"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a3334d2b2f00a89209c983e7982d6f77b">  342</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a3334d2b2f00a89209c983e7982d6f77b">LED_EXT_BRAKE_TURN_RIGHT</a>,</div>
<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a25a4cdf797d251411bb1a897290c9032">  343</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a25a4cdf797d251411bb1a897290c9032">LED_EXT_BATT</a></div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505">LED_EXT_STATE</a>;</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;</div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html">  346</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00347"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#a255b264700051e2ac0f9068b70da861f">  347</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../da/d9b/structchuck__data.html#a255b264700051e2ac0f9068b70da861f">js_x</a>;</div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#a7333b2e1634c12d6f5d169b7bfd6e023">  348</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../da/d9b/structchuck__data.html#a7333b2e1634c12d6f5d169b7bfd6e023">js_y</a>;</div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#a8dfa674542ec2c7aa5597db3e304fb52">  349</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../da/d9b/structchuck__data.html#a8dfa674542ec2c7aa5597db3e304fb52">acc_x</a>;</div>
<div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#aacfcc09e5c32e59e920dad5d51925972">  350</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../da/d9b/structchuck__data.html#aacfcc09e5c32e59e920dad5d51925972">acc_y</a>;</div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#a839127c95042324c621c2460cc87d508">  351</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../da/d9b/structchuck__data.html#a839127c95042324c621c2460cc87d508">acc_z</a>;</div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#acd68d783e852df0a016dcafb44402f86">  352</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d9b/structchuck__data.html#acd68d783e852df0a016dcafb44402f86">bt_c</a>;</div>
<div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="../../da/d9b/structchuck__data.html#a33ceb865cadc673b73d6c1ac14ab39e5">  353</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../da/d9b/structchuck__data.html#a33ceb865cadc673b73d6c1ac14ab39e5">bt_z</a>;</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;} <a class="code" href="../../da/d9b/structchuck__data.html">chuck_data</a>;</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div>
<div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html">  356</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html#a7441ef0865bcb3db9b8064dd7375c1ea">  357</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="../../db/dbf/structcan__status__msg.html#a7441ef0865bcb3db9b8064dd7375c1ea">id</a>;</div>
<div class="line"><a name="l00358"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html#a2cbed3b3239da5fee2814530c2815fdb">  358</a></span>&#160;    systime_t <a class="code" href="../../db/dbf/structcan__status__msg.html#a2cbed3b3239da5fee2814530c2815fdb">rx_time</a>;</div>
<div class="line"><a name="l00359"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html#a25e39b399c2a11f0d76e42ab8241a910">  359</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/dbf/structcan__status__msg.html#a25e39b399c2a11f0d76e42ab8241a910">rpm</a>;</div>
<div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html#af9653d31acfffa5a40aa709b2065e00b">  360</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/dbf/structcan__status__msg.html#af9653d31acfffa5a40aa709b2065e00b">current</a>;</div>
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="../../db/dbf/structcan__status__msg.html#a70f44948d7630be99b15ecac985a502f">  361</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/dbf/structcan__status__msg.html#a70f44948d7630be99b15ecac985a502f">duty</a>;</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;} <a class="code" href="../../db/dbf/structcan__status__msg.html">can_status_msg</a>;</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;</div>
<div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html">  364</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#a00d9e512b370d0eb769ea2ebc9a0728a">  365</a></span>&#160;    uint8_t <a class="code" href="../../db/d02/structmote__state.html#a00d9e512b370d0eb769ea2ebc9a0728a">js_x</a>;</div>
<div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#a9e34e0672b4949584cefd0ec606cda65">  366</a></span>&#160;    uint8_t <a class="code" href="../../db/d02/structmote__state.html#a9e34e0672b4949584cefd0ec606cda65">js_y</a>;</div>
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#acd68d783e852df0a016dcafb44402f86">  367</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d02/structmote__state.html#acd68d783e852df0a016dcafb44402f86">bt_c</a>;</div>
<div class="line"><a name="l00368"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#a33ceb865cadc673b73d6c1ac14ab39e5">  368</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d02/structmote__state.html#a33ceb865cadc673b73d6c1ac14ab39e5">bt_z</a>;</div>
<div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#a31889900ba8f48236feb4b32d42b28d9">  369</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="../../db/d02/structmote__state.html#a31889900ba8f48236feb4b32d42b28d9">bt_push</a>;</div>
<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="../../db/d02/structmote__state.html#ab3fe37f9db3ea1d893a6e9d411c5a2e8">  370</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="../../db/d02/structmote__state.html#ab3fe37f9db3ea1d893a6e9d411c5a2e8">vbat</a>;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;} <a class="code" href="../../db/d02/structmote__state.html">mote_state</a>;</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;</div>
<div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859">  373</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859a565b71e0a187cd7d1705bd7cbe976a70">  374</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859a565b71e0a187cd7d1705bd7cbe976a70">MOTE_PACKET_BATT_LEVEL</a> = 0,</div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ada03bd5b020b1d69907c09dcb1e00b7c">  375</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ada03bd5b020b1d69907c09dcb1e00b7c">MOTE_PACKET_BUTTONS</a>,</div>
<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ae7d08b319cae44cdaed6797bd184a22d">  376</a></span>&#160;    <a class="code" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ae7d08b319cae44cdaed6797bd184a22d">MOTE_PACKET_ALIVE</a></div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;} <a class="code" href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859">MOTE_PACKET</a>;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* DATATYPES_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aade2fb82076de808edf1b3f93f589b97a"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aade2fb82076de808edf1b3f93f589b97a">CONTROL_MODE_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:75</div></div>
<div class="ttc" id="datatypes_8h_html_adeb53b1ad282fb36244ee735b1dd8d7da1d807736964ef064079939582deea727"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da1d807736964ef064079939582deea727">CHUK_CTRL_TYPE_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:229</div></div>
<div class="ttc" id="datatypes_8h_html_a4e7441bef093bb814165c4eaf713b859a565b71e0a187cd7d1705bd7cbe976a70"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859a565b71e0a187cd7d1705bd7cbe976a70">MOTE_PACKET_BATT_LEVEL</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:374</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a0fa391cdc4e64c9a45c7a20f78277bec"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a0fa391cdc4e64c9a45c7a20f78277bec">CAN_PACKET_FILL_RX_BUFFER_LONG</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:310</div></div>
<div class="ttc" id="structmc__configuration_html_ace17089c4e598be927685c7058ec0ff5"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ace17089c4e598be927685c7058ec0ff5">mc_configuration::l_in_current_min</a></div><div class="ttdeci">float l_in_current_min</div><div class="ttdef"><b>Definition:</b> datatypes.h:101</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ace0693aa4ec9e8a852db0d87faee6425"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ace0693aa4ec9e8a852db0d87faee6425">COMM_SET_RPM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:280</div></div>
<div class="ttc" id="structmc__configuration_html_a55258b3409d6a4183c7ab5f05eda0c5b"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a55258b3409d6a4183c7ab5f05eda0c5b">mc_configuration::l_max_erpm_fbrake_cc</a></div><div class="ttdeci">float l_max_erpm_fbrake_cc</div><div class="ttdef"><b>Definition:</b> datatypes.h:106</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ab73a277c2cfba454f3c940d2f0f868d4"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab73a277c2cfba454f3c940d2f0f868d4">COMM_EXPERIMENT_SAMPLE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:292</div></div>
<div class="ttc" id="datatypes_8h_html_a31ba5ae9b4a53237b5b76db71ca0299aac71c5841ac58a8f5bf16dfac33f18788"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aac71c5841ac58a8f5bf16dfac33f18788">MC_STATE_OFF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:34</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a7df58630ac01bddca8e7b9fc1510884b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7df58630ac01bddca8e7b9fc1510884b">COMM_SET_DUTY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:277</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06abb1b56d29127e55ec98d1d5e35e1940d"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abb1b56d29127e55ec98d1d5e35e1940d">COMM_REBOOT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:294</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a5d81e24461214c7e62a57f05da77a4ab"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a5d81e24461214c7e62a57f05da77a4ab">ADC_CTRL_TYPE_DUTY_REV_CENTER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:205</div></div>
<div class="ttc" id="structmc__configuration_html_ae464f58911db79e30bad064b2bf3ada5"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ae464f58911db79e30bad064b2bf3ada5">mc_configuration::l_abs_current_max</a></div><div class="ttdeci">float l_abs_current_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:102</div></div>
<div class="ttc" id="structmc__configuration_html_af479d5361b066a3450471994cbc4e287"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#af479d5361b066a3450471994cbc4e287">mc_configuration::p_pid_kd</a></div><div class="ttdeci">float p_pid_kd</div><div class="ttdef"><b>Definition:</b> datatypes.h:143</div></div>
<div class="ttc" id="structmc__configuration_html_a0fa78782248ba6a417da07d123778396"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a0fa78782248ba6a417da07d123778396">mc_configuration::cc_startup_boost_duty</a></div><div class="ttdeci">float cc_startup_boost_duty</div><div class="ttdef"><b>Definition:</b> datatypes.h:145</div></div>
<div class="ttc" id="structfault__data_html_a9a6514335a0acc707caee25a88698919"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a9a6514335a0acc707caee25a88698919">fault_data::tacho</a></div><div class="ttdeci">int tacho</div><div class="ttdef"><b>Definition:</b> datatypes.h:324</div></div>
<div class="ttc" id="datatypes_8h_html_a0a11775bb4c124eddb597e264fd5004cae4b5bf293ca1107d8c4492d1ef615753"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004cae4b5bf293ca1107d8c4492d1ef615753">SENSOR_MODE_HYBRID</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:54</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a4a23d06fd6918abc648329178346a424"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a4a23d06fd6918abc648329178346a424">APP_PPM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:159</div></div>
<div class="ttc" id="structmc__configuration_html_a01aeaaa281fbdd5588fce5b61123575f"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a01aeaaa281fbdd5588fce5b61123575f">mc_configuration::sensor_mode</a></div><div class="ttdeci">mc_sensor_mode sensor_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:96</div></div>
<div class="ttc" id="structchuk__config_html_a67e26f0a581dc7931b59e06f3a9d29e7"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">chuk_config::hyst</a></div><div class="ttdeci">float hyst</div><div class="ttdef"><b>Definition:</b> datatypes.h:236</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3">adc_control_type</a></div><div class="ttdeci">adc_control_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:197</div></div>
<div class="ttc" id="structfault__data_html_a246d9768fab4df5814c97313f2d0b177"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a246d9768fab4df5814c97313f2d0b177">fault_data::cycles_running</a></div><div class="ttdeci">int cycles_running</div><div class="ttdef"><b>Definition:</b> datatypes.h:325</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a149f262561273a167ffa1f0aa822fce8"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a149f262561273a167ffa1f0aa822fce8">CAN_PACKET_SET_POS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:308</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505aa3592490accd089dc94491ebccd316b7"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505aa3592490accd089dc94491ebccd316b7">LED_EXT_NORMAL</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:337</div></div>
<div class="ttc" id="structmc__configuration_html_a81cccf58406c6dcbd2ac1f33584fdece"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a81cccf58406c6dcbd2ac1f33584fdece">mc_configuration::sl_cycle_int_limit</a></div><div class="ttdeci">float sl_cycle_int_limit</div><div class="ttdef"><b>Definition:</b> datatypes.h:128</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06acc526a8f876180f1191ee3f2572bc772"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06acc526a8f876180f1191ee3f2572bc772">COMM_GET_VALUES</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:276</div></div>
<div class="ttc" id="structmc__configuration_html_a6b2c24b36af0db9e24ba1ee923f8b580"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a6b2c24b36af0db9e24ba1ee923f8b580">mc_configuration::l_battery_cut_end</a></div><div class="ttdeci">float l_battery_cut_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:110</div></div>
<div class="ttc" id="structmc__configuration_html_a5281292055aacf184ce7901009fe6d48"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a5281292055aacf184ce7901009fe6d48">mc_configuration::hall_sl_erpm</a></div><div class="ttdeci">float hall_sl_erpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:134</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505a3334d2b2f00a89209c983e7982d6f77b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a3334d2b2f00a89209c983e7982d6f77b">LED_EXT_BRAKE_TURN_RIGHT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:342</div></div>
<div class="ttc" id="structmc__configuration_html_a81413d71782a05e9e011c90e2ffd1503"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a81413d71782a05e9e011c90e2ffd1503">mc_configuration::s_pid_kd</a></div><div class="ttdeci">float s_pid_kd</div><div class="ttdef"><b>Definition:</b> datatypes.h:138</div></div>
<div class="ttc" id="structadc__config_html_a2271ca0b113635b426295363d2a8966b"><div class="ttname"><a href="../../db/d90/structadc__config.html#a2271ca0b113635b426295363d2a8966b">adc_config::ctrl_type</a></div><div class="ttdeci">adc_control_type ctrl_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:210</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aa93e7c0157c84df0a6cbb35014aa641db"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa93e7c0157c84df0a6cbb35014aa641db">CONTROL_MODE_DUTY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:73</div></div>
<div class="ttc" id="datatypes_8h_html_af3916564ec22a69f58dea8b020011381a179a3884d7ee1098893a5cfadbcb4adf"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a179a3884d7ee1098893a5cfadbcb4adf">COMM_MODE_INTEGRATE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:47</div></div>
<div class="ttc" id="structmote__state_html_a9e34e0672b4949584cefd0ec606cda65"><div class="ttname"><a href="../../db/d02/structmote__state.html#a9e34e0672b4949584cefd0ec606cda65">mote_state::js_y</a></div><div class="ttdeci">uint8_t js_y</div><div class="ttdef"><b>Definition:</b> datatypes.h:366</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962a74ea59a506bbf3544bf6268f0a0b765f"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a74ea59a506bbf3544bf6268f0a0b765f">PPM_CTRL_TYPE_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:172</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_a2818616e9041447e693afed3790e59a9"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#a2818616e9041447e693afed3790e59a9">mc_rpm_dep_struct::time_at_comm</a></div><div class="ttdeci">uint32_t time_at_comm</div><div class="ttdef"><b>Definition:</b> datatypes.h:88</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_a0c4b22dc60c287582302e3b4616f40e9"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#a0c4b22dc60c287582302e3b4616f40e9">mc_rpm_dep_struct::cycle_int_limit</a></div><div class="ttdeci">float cycle_int_limit</div><div class="ttdef"><b>Definition:</b> datatypes.h:82</div></div>
<div class="ttc" id="structmc__configuration_html_ab20c0d5436bbaca1ed181a052c449732"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ab20c0d5436bbaca1ed181a052c449732">mc_configuration::l_rpm_lim_neg_torque</a></div><div class="ttdeci">bool l_rpm_lim_neg_torque</div><div class="ttdef"><b>Definition:</b> datatypes.h:112</div></div>
<div class="ttc" id="structadc__config_html_a52298130b8eeda979a0ebe2f8683cf7f"><div class="ttname"><a href="../../db/d90/structadc__config.html#a52298130b8eeda979a0ebe2f8683cf7f">adc_config::rpm_lim_end</a></div><div class="ttdeci">float rpm_lim_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:220</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a8f6e18ca06469c84af097120e26ff8af"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8f6e18ca06469c84af097120e26ff8af">COMM_JUMP_TO_BOOTLOADER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:273</div></div>
<div class="ttc" id="structmc__configuration_html_af9abc755b896ab32e4977132ed46bcd0"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#af9abc755b896ab32e4977132ed46bcd0">mc_configuration::sl_phase_advance_at_br</a></div><div class="ttdeci">float sl_phase_advance_at_br</div><div class="ttdef"><b>Definition:</b> datatypes.h:129</div></div>
<div class="ttc" id="structmc__configuration_html_a1b4207ce4dd43bdbe92e6e9107f9cb10"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a1b4207ce4dd43bdbe92e6e9107f9cb10">mc_configuration::l_max_duty</a></div><div class="ttdeci">float l_max_duty</div><div class="ttdef"><b>Definition:</b> datatypes.h:118</div></div>
<div class="ttc" id="structppm__config_html_a373a0b006245c186188e4ac68f39db9d"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a373a0b006245c186188e4ac68f39db9d">ppm_config::ctrl_type</a></div><div class="ttdeci">ppm_control_type ctrl_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:182</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4aa4b9d8c38af5a5b4c47ee8959eb2051d"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4aa4b9d8c38af5a5b4c47ee8959eb2051d">CAN_PACKET_SET_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:305</div></div>
<div class="ttc" id="structmc__configuration_html_aeae9e433de624b8b78a8745ca64c1028"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#aeae9e433de624b8b78a8745ca64c1028">mc_configuration::s_pid_min_rpm</a></div><div class="ttdeci">float s_pid_min_rpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:139</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a042a1fdd0da8a5251cb542b2f7e67205"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a042a1fdd0da8a5251cb542b2f7e67205">APP_NRF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:165</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06af37add9f535bb3c7b1bf4bf50b023dfe"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af37add9f535bb3c7b1bf4bf50b023dfe">COMM_PRINT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:290</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a25b42a743b3b05ba5ab080c4b6dd9480"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a25b42a743b3b05ba5ab080c4b6dd9480">COMM_SET_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:278</div></div>
<div class="ttc" id="structmc__configuration_html_ac8b3bd05050c7087926d28402df9f7c2"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ac8b3bd05050c7087926d28402df9f7c2">mc_configuration::l_max_erpm</a></div><div class="ttdeci">float l_max_erpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:104</div></div>
<div class="ttc" id="structcan__status__msg_html"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html">can_status_msg</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:356</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a7e51a787bf2107f0d03c65f416dce143"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a7e51a787bf2107f0d03c65f416dce143">COMM_SAMPLE_PRINT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:288</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505a25a4cdf797d251411bb1a897290c9032"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a25a4cdf797d251411bb1a897290c9032">LED_EXT_BATT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:343</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html">mc_rpm_dep_struct</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:81</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9">app_use</a></div><div class="ttdeci">app_use</div><div class="ttdef"><b>Definition:</b> datatypes.h:157</div></div>
<div class="ttc" id="datatypes_8h_html_a31ba5ae9b4a53237b5b76db71ca0299aa4e58262250437716e57ced74bd8acb82"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4e58262250437716e57ced74bd8acb82">MC_STATE_FULL_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:37</div></div>
<div class="ttc" id="structadc__config_html_adb12b652190d775d7d98e95fcde39856"><div class="ttname"><a href="../../db/d90/structadc__config.html#adb12b652190d775d7d98e95fcde39856">adc_config::tc</a></div><div class="ttdeci">bool tc</div><div class="ttdef"><b>Definition:</b> datatypes.h:222</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3ab24beab4b90653ac8a52292f81fb22b2"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab24beab4b90653ac8a52292f81fb22b2">ADC_CTRL_TYPE_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:199</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a228dea7fe56d0382bdd83fc99d185f03"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a228dea7fe56d0382bdd83fc99d185f03">CAN_PACKET_STATUS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:313</div></div>
<div class="ttc" id="structppm__config_html_a009df1769dd668beb51124d481f57917"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a009df1769dd668beb51124d481f57917">ppm_config::rpm_lim_start</a></div><div class="ttdeci">float rpm_lim_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:189</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14a58d34f5b4e5cd780d9c38baf3b6be0f3"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a58d34f5b4e5cd780d9c38baf3b6be0f3">FAULT_CODE_OVER_TEMP_MOTOR</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:69</div></div>
<div class="ttc" id="structmc__configuration_html_a919f219d2e547abef12fe6c33722047d"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a919f219d2e547abef12fe6c33722047d">mc_configuration::comm_mode</a></div><div class="ttdeci">mc_comm_mode comm_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:94</div></div>
<div class="ttc" id="structchuck__data_html_a7333b2e1634c12d6f5d169b7bfd6e023"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#a7333b2e1634c12d6f5d169b7bfd6e023">chuck_data::js_y</a></div><div class="ttdeci">int js_y</div><div class="ttdef"><b>Definition:</b> datatypes.h:348</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9aac019501cc4c82bc1ab6be5574072232"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9aac019501cc4c82bc1ab6be5574072232">APP_ADC</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:160</div></div>
<div class="ttc" id="structppm__config_html_a08878e275186fe365e2e23cc038fed07"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a08878e275186fe365e2e23cc038fed07">ppm_config::tc_max_diff</a></div><div class="ttdeci">float tc_max_diff</div><div class="ttdef"><b>Definition:</b> datatypes.h:193</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a31fa1b345d811baa86d38da09fbba412"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a31fa1b345d811baa86d38da09fbba412">APP_UART</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:161</div></div>
<div class="ttc" id="structmc__configuration_html_a943d7abfab2e78c3e9c2a742786b0c80"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a943d7abfab2e78c3e9c2a742786b0c80">mc_configuration::s_pid_kp</a></div><div class="ttdeci">float s_pid_kp</div><div class="ttdef"><b>Definition:</b> datatypes.h:136</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a7bca2359659d0a9947d18ede8e21519c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a7bca2359659d0a9947d18ede8e21519c">APP_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:158</div></div>
<div class="ttc" id="structfault__data_html_aee6c4f422f48b4464d9daf305280967a"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#aee6c4f422f48b4464d9daf305280967a">fault_data::tim_top</a></div><div class="ttdeci">int tim_top</div><div class="ttdef"><b>Definition:</b> datatypes.h:329</div></div>
<div class="ttc" id="structmc__configuration_html_a5622ff0a32ac4f1498afad27fc7a2882"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a5622ff0a32ac4f1498afad27fc7a2882">mc_configuration::l_current_max</a></div><div class="ttdeci">float l_current_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:98</div></div>
<div class="ttc" id="structapp__configuration_html_ad0e21afe6190d34ff0949ab4afd2f282"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#ad0e21afe6190d34ff0949ab4afd2f282">app_configuration::app_to_use</a></div><div class="ttdeci">app_use app_to_use</div><div class="ttdef"><b>Definition:</b> datatypes.h:255</div></div>
<div class="ttc" id="datatypes_8h_html_a59128a84c10f85387a6e280750e0a478"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478">mc_motor_type</a></div><div class="ttdeci">mc_motor_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:57</div></div>
<div class="ttc" id="structadc__config_html"><div class="ttname"><a href="../../db/d90/structadc__config.html">adc_config</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:209</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505ad84ba71862b4ebf67a301728848f79bc"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505ad84ba71862b4ebf67a301728848f79bc">LED_EXT_TURN_RIGHT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:340</div></div>
<div class="ttc" id="structchuk__config_html_a98001969910108af166d52641951d0b8"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a98001969910108af166d52641951d0b8">chuk_config::ramp_time_neg</a></div><div class="ttdeci">float ramp_time_neg</div><div class="ttdef"><b>Definition:</b> datatypes.h:240</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14a86d0264a2131c058cf6e696b9f15177e"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a86d0264a2131c058cf6e696b9f15177e">FAULT_CODE_UNDER_VOLTAGE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:65</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06">COMM_PACKET_ID</a></div><div class="ttdeci">COMM_PACKET_ID</div><div class="ttdef"><b>Definition:</b> datatypes.h:271</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a9114644b124e5e1a87e212bd6a80291e"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a9114644b124e5e1a87e212bd6a80291e">COMM_FW_VERSION</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:272</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ad32486ca305b9b4b12930d6fff4c6ec0"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ad32486ca305b9b4b12930d6fff4c6ec0">COMM_DETECT_MOTOR_PARAM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:293</div></div>
<div class="ttc" id="structfault__data_html_af5c975d24ce2eb03d1deed3819d8d39d"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#af5c975d24ce2eb03d1deed3819d8d39d">fault_data::current_filtered</a></div><div class="ttdeci">float current_filtered</div><div class="ttdef"><b>Definition:</b> datatypes.h:320</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a9b5231258af18e74c5e1af24f50fcc85"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a9b5231258af18e74c5e1af24f50fcc85">CAN_PACKET_SET_CURRENT_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:306</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aaf9b3215d6a5ab6424029184a295a0477"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aaf9b3215d6a5ab6424029184a295a0477">CONTROL_MODE_SPEED</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:74</div></div>
<div class="ttc" id="structchuk__config_html"><div class="ttname"><a href="../../d1/d77/structchuk__config.html">chuk_config</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:234</div></div>
<div class="ttc" id="structmote__state_html_a33ceb865cadc673b73d6c1ac14ab39e5"><div class="ttname"><a href="../../db/d02/structmote__state.html#a33ceb865cadc673b73d6c1ac14ab39e5">mote_state::bt_z</a></div><div class="ttdeci">bool bt_z</div><div class="ttdef"><b>Definition:</b> datatypes.h:368</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a7aea54f9ed6fd687491d48a4f984423c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a7aea54f9ed6fd687491d48a4f984423c">CAN_PACKET_SET_RPM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:307</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962a112d8b125c478567c938e3be4e653589"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a112d8b125c478567c938e3be4e653589">PPM_CTRL_TYPE_DUTY_NOREV</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:176</div></div>
<div class="ttc" id="structmc__configuration_html_a13e0eed5b6b3357e623f28c80ff632cd"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a13e0eed5b6b3357e623f28c80ff632cd">mc_configuration::lo_current_min</a></div><div class="ttdeci">float lo_current_min</div><div class="ttdef"><b>Definition:</b> datatypes.h:121</div></div>
<div class="ttc" id="structmc__configuration_html_a3b419e6bc7a36748a96271d4b1886c65"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a3b419e6bc7a36748a96271d4b1886c65">mc_configuration::sl_bemf_coupling_k</a></div><div class="ttdeci">float sl_bemf_coupling_k</div><div class="ttdef"><b>Definition:</b> datatypes.h:131</div></div>
<div class="ttc" id="structppm__config_html_adb12b652190d775d7d98e95fcde39856"><div class="ttname"><a href="../../da/d8f/structppm__config.html#adb12b652190d775d7d98e95fcde39856">ppm_config::tc</a></div><div class="ttdeci">bool tc</div><div class="ttdef"><b>Definition:</b> datatypes.h:192</div></div>
<div class="ttc" id="structadc__config_html_a009df1769dd668beb51124d481f57917"><div class="ttname"><a href="../../db/d90/structadc__config.html#a009df1769dd668beb51124d481f57917">adc_config::rpm_lim_start</a></div><div class="ttdeci">float rpm_lim_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:219</div></div>
<div class="ttc" id="structfault__data_html_ab8c9f702ff4f0ed843d7af91d35a2f6e"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#ab8c9f702ff4f0ed843d7af91d35a2f6e">fault_data::tim_current_samp</a></div><div class="ttdeci">int tim_current_samp</div><div class="ttdef"><b>Definition:</b> datatypes.h:328</div></div>
<div class="ttc" id="structfault__data_html_aa6ce985078ba696f002d9cf36f32a894"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#aa6ce985078ba696f002d9cf36f32a894">fault_data::comm_step</a></div><div class="ttdeci">int comm_step</div><div class="ttdef"><b>Definition:</b> datatypes.h:330</div></div>
<div class="ttc" id="structapp__configuration_html"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html">app_configuration</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:246</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3a"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3a">mc_control_mode</a></div><div class="ttdeci">mc_control_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:72</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962acdb5037405eb9d3f38fe19b7c2ee28a3"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962acdb5037405eb9d3f38fe19b7c2ee28a3">PPM_CTRL_TYPE_CURRENT_NOREV</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:173</div></div>
<div class="ttc" id="structppm__config_html_a52298130b8eeda979a0ebe2f8683cf7f"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a52298130b8eeda979a0ebe2f8683cf7f">ppm_config::rpm_lim_end</a></div><div class="ttdeci">float rpm_lim_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:190</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962a1c57aabdf33692f25efd90a77b721038"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a1c57aabdf33692f25efd90a77b721038">PPM_CTRL_TYPE_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:171</div></div>
<div class="ttc" id="datatypes_8h_html_adeb53b1ad282fb36244ee735b1dd8d7da75e41aee0976ea5a3ed44a40c7c005e0"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da75e41aee0976ea5a3ed44a40c7c005e0">CHUK_CTRL_TYPE_CURRENT_NOREV</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:231</div></div>
<div class="ttc" id="structchuck__data_html_a839127c95042324c621c2460cc87d508"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#a839127c95042324c621c2460cc87d508">chuck_data::acc_z</a></div><div class="ttdeci">int acc_z</div><div class="ttdef"><b>Definition:</b> datatypes.h:351</div></div>
<div class="ttc" id="structmc__configuration_html_a3a5ac920dcbd768a52ebaecc58ae7302"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a3a5ac920dcbd768a52ebaecc58ae7302">mc_configuration::lo_current_max</a></div><div class="ttdeci">float lo_current_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:120</div></div>
<div class="ttc" id="structfault__data_html_a47061fcae597f83f8a0a99d4b7b5a5c1"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a47061fcae597f83f8a0a99d4b7b5a5c1">fault_data::voltage</a></div><div class="ttdeci">float voltage</div><div class="ttdef"><b>Definition:</b> datatypes.h:321</div></div>
<div class="ttc" id="structmc__configuration_html_ad101b945a41e86598b19b452f007923e"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ad101b945a41e86598b19b452f007923e">mc_configuration::lo_in_current_min</a></div><div class="ttdeci">float lo_in_current_min</div><div class="ttdef"><b>Definition:</b> datatypes.h:123</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a32452073053edc9902338804f6d82d62"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a32452073053edc9902338804f6d82d62">ADC_CTRL_TYPE_DUTY_REV_BUTTON</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:206</div></div>
<div class="ttc" id="structchuck__data_html_a8dfa674542ec2c7aa5597db3e304fb52"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#a8dfa674542ec2c7aa5597db3e304fb52">chuck_data::acc_x</a></div><div class="ttdeci">int acc_x</div><div class="ttdef"><b>Definition:</b> datatypes.h:349</div></div>
<div class="ttc" id="structmote__state_html_a00d9e512b370d0eb769ea2ebc9a0728a"><div class="ttname"><a href="../../db/d02/structmote__state.html#a00d9e512b370d0eb769ea2ebc9a0728a">mote_state::js_x</a></div><div class="ttdeci">uint8_t js_x</div><div class="ttdef"><b>Definition:</b> datatypes.h:365</div></div>
<div class="ttc" id="structadc__config_html_af178fc28ad969574845764c755066cdc"><div class="ttname"><a href="../../db/d90/structadc__config.html#af178fc28ad969574845764c755066cdc">adc_config::update_rate_hz</a></div><div class="ttdeci">uint32_t update_rate_hz</div><div class="ttdef"><b>Definition:</b> datatypes.h:224</div></div>
<div class="ttc" id="structmc__configuration_html_aaa9b355af83f22910358f1076bbadadc"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#aaa9b355af83f22910358f1076bbadadc">mc_configuration::m_duty_ramp_step</a></div><div class="ttdeci">float m_duty_ramp_step</div><div class="ttdef"><b>Definition:</b> datatypes.h:151</div></div>
<div class="ttc" id="datatypes_8h_html_a0a11775bb4c124eddb597e264fd5004c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004c">mc_sensor_mode</a></div><div class="ttdeci">mc_sensor_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:51</div></div>
<div class="ttc" id="datatypes_8h_html_a0a11775bb4c124eddb597e264fd5004ca26da3f21ada86df527b39703130c4fe1"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca26da3f21ada86df527b39703130c4fe1">SENSOR_MODE_SENSORLESS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:52</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a94e373aad21487b7fddba16d46e7171b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a94e373aad21487b7fddba16d46e7171b">ADC_CTRL_TYPE_CURRENT_NOREV_BRAKE_CENTER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:202</div></div>
<div class="ttc" id="structcan__status__msg_html_af9653d31acfffa5a40aa709b2065e00b"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html#af9653d31acfffa5a40aa709b2065e00b">can_status_msg::current</a></div><div class="ttdeci">float current</div><div class="ttdef"><b>Definition:</b> datatypes.h:360</div></div>
<div class="ttc" id="structchuk__config_html_ac1d307a95ac9b31f6a0ec8293e3544af"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#ac1d307a95ac9b31f6a0ec8293e3544af">chuk_config::ctrl_type</a></div><div class="ttdeci">chuk_control_type ctrl_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:235</div></div>
<div class="ttc" id="datatypes_8h_html_adeb53b1ad282fb36244ee735b1dd8d7d"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7d">chuk_control_type</a></div><div class="ttdeci">chuk_control_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:228</div></div>
<div class="ttc" id="structchuck__data_html_acd68d783e852df0a016dcafb44402f86"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#acd68d783e852df0a016dcafb44402f86">chuck_data::bt_c</a></div><div class="ttdeci">bool bt_c</div><div class="ttdef"><b>Definition:</b> datatypes.h:352</div></div>
<div class="ttc" id="datatypes_8h_html_a59128a84c10f85387a6e280750e0a478aa87677e206827639d0745fbc671eaf0f"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478aa87677e206827639d0745fbc671eaf0f">MOTOR_TYPE_BLDC</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:58</div></div>
<div class="ttc" id="structfault__data_html_afc1d28cfbce795d6ea954ebe725241f5"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#afc1d28cfbce795d6ea954ebe725241f5">fault_data::temperature</a></div><div class="ttdeci">float temperature</div><div class="ttdef"><b>Definition:</b> datatypes.h:331</div></div>
<div class="ttc" id="structchuk__config_html_a52298130b8eeda979a0ebe2f8683cf7f"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a52298130b8eeda979a0ebe2f8683cf7f">chuk_config::rpm_lim_end</a></div><div class="ttdeci">float rpm_lim_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:238</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_afe45d132bfaf495685c97e97721151db"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#afe45d132bfaf495685c97e97721151db">mc_rpm_dep_struct::comms</a></div><div class="ttdeci">int32_t comms</div><div class="ttdef"><b>Definition:</b> datatypes.h:87</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a82faae68e7d16a9b315d05bd8857f6c9"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a82faae68e7d16a9b315d05bd8857f6c9">COMM_SET_POS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:281</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4">CAN_PACKET_ID</a></div><div class="ttdeci">CAN_PACKET_ID</div><div class="ttdef"><b>Definition:</b> datatypes.h:303</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4ae7319caf475887186e55846222ca1ec2"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4ae7319caf475887186e55846222ca1ec2">CAN_PACKET_PROCESS_RX_BUFFER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:311</div></div>
<div class="ttc" id="structmote__state_html_a31889900ba8f48236feb4b32d42b28d9"><div class="ttname"><a href="../../db/d02/structmote__state.html#a31889900ba8f48236feb4b32d42b28d9">mote_state::bt_push</a></div><div class="ttdeci">bool bt_push</div><div class="ttdef"><b>Definition:</b> datatypes.h:369</div></div>
<div class="ttc" id="structmc__configuration_html_a81f8b91165f3512cdaaa5d6aeebdc0d1"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a81f8b91165f3512cdaaa5d6aeebdc0d1">mc_configuration::motor_type</a></div><div class="ttdeci">mc_motor_type motor_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:95</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3ac3115d6a56b4a70216d9dbc3b69cc5c1"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ac3115d6a56b4a70216d9dbc3b69cc5c1">ADC_CTRL_TYPE_CURRENT_REV_BUTTON</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:201</div></div>
<div class="ttc" id="structppm__config_html_a74a3425e91dd2001e1dcbee9b62db563"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a74a3425e91dd2001e1dcbee9b62db563">ppm_config::pulse_end</a></div><div class="ttdeci">float pulse_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:186</div></div>
<div class="ttc" id="structadc__config_html_a67e26f0a581dc7931b59e06f3a9d29e7"><div class="ttname"><a href="../../db/d90/structadc__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">adc_config::hyst</a></div><div class="ttdeci">float hyst</div><div class="ttdef"><b>Definition:</b> datatypes.h:211</div></div>
<div class="ttc" id="structppm__config_html"><div class="ttname"><a href="../../da/d8f/structppm__config.html">ppm_config</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:181</div></div>
<div class="ttc" id="structapp__configuration_html_a836945654c96862d15e0d6c60c386524"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#a836945654c96862d15e0d6c60c386524">app_configuration::send_can_status</a></div><div class="ttdeci">bool send_can_status</div><div class="ttdef"><b>Definition:</b> datatypes.h:251</div></div>
<div class="ttc" id="structadc__config_html_abca4948ec2e9155db78f582dd5d33b94"><div class="ttname"><a href="../../db/d90/structadc__config.html#abca4948ec2e9155db78f582dd5d33b94">adc_config::voltage_end</a></div><div class="ttdeci">float voltage_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:213</div></div>
<div class="ttc" id="structmc__configuration_html_ab1659656f0b696fb5fba853b0f25cd77"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ab1659656f0b696fb5fba853b0f25cd77">mc_configuration::cc_min_current</a></div><div class="ttdeci">float cc_min_current</div><div class="ttdef"><b>Definition:</b> datatypes.h:146</div></div>
<div class="ttc" id="structmc__configuration_html_af72e559680007cb78c16bff9e53c68df"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#af72e559680007cb78c16bff9e53c68df">mc_configuration::l_current_min</a></div><div class="ttdeci">float l_current_min</div><div class="ttdef"><b>Definition:</b> datatypes.h:99</div></div>
<div class="ttc" id="structfault__data_html_aa9b1900f4f49ae926cb51e920e83e7f1"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#aa9b1900f4f49ae926cb51e920e83e7f1">fault_data::fault</a></div><div class="ttdeci">mc_fault_code fault</div><div class="ttdef"><b>Definition:</b> datatypes.h:318</div></div>
<div class="ttc" id="structppm__config_html_ab44dc353a60628f787620a4faec3ac11"><div class="ttname"><a href="../../da/d8f/structppm__config.html#ab44dc353a60628f787620a4faec3ac11">ppm_config::pid_max_erpm</a></div><div class="ttdeci">float pid_max_erpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:183</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aac9d533bea7ba2c52bf5a72130bbd4edf"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aac9d533bea7ba2c52bf5a72130bbd4edf">CONTROL_MODE_CURRENT_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:76</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a315b2cb6cf4732e84425d9bca355ec49"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a315b2cb6cf4732e84425d9bca355ec49">COMM_SET_DETECT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:282</div></div>
<div class="ttc" id="structadc__config_html_a77d720c38d2b1bb1b766ab943757e447"><div class="ttname"><a href="../../db/d90/structadc__config.html#a77d720c38d2b1bb1b766ab943757e447">adc_config::use_filter</a></div><div class="ttdeci">bool use_filter</div><div class="ttdef"><b>Definition:</b> datatypes.h:214</div></div>
<div class="ttc" id="datatypes_8h_html_a0a11775bb4c124eddb597e264fd5004ca0608939eec5129d57b27d069fb288037"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a0a11775bb4c124eddb597e264fd5004ca0608939eec5129d57b27d069fb288037">SENSOR_MODE_SENSORED</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:53</div></div>
<div class="ttc" id="datatypes_8h_html_ab42773941483f82a33725d29d4f9e219aad6b0583d241f49809bf2c9f1a67ac53"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219aad6b0583d241f49809bf2c9f1a67ac53">PWM_MODE_SYNCHRONOUS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:42</div></div>
<div class="ttc" id="structchuk__config_html_a009df1769dd668beb51124d481f57917"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a009df1769dd668beb51124d481f57917">chuk_config::rpm_lim_start</a></div><div class="ttdeci">float rpm_lim_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:237</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a62dff179eaff8e830371051535c337e7"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a62dff179eaff8e830371051535c337e7">COMM_GET_DECODED_PPM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:296</div></div>
<div class="ttc" id="structchuk__config_html_a0adcb4125f8defe13178bad39f30b5f9"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a0adcb4125f8defe13178bad39f30b5f9">chuk_config::multi_esc</a></div><div class="ttdeci">bool multi_esc</div><div class="ttdef"><b>Definition:</b> datatypes.h:241</div></div>
<div class="ttc" id="structfault__data_html_a0ff6cecbd2386a32bdaa09d12b0d64a4"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a0ff6cecbd2386a32bdaa09d12b0d64a4">fault_data::pwm_cycles</a></div><div class="ttdeci">int pwm_cycles</div><div class="ttdef"><b>Definition:</b> datatypes.h:326</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_ac4b97a81e08b8daeafea910ee057d671"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#ac4b97a81e08b8daeafea910ee057d671">mc_rpm_dep_struct::comm_time_sum</a></div><div class="ttdeci">float comm_time_sum</div><div class="ttdef"><b>Definition:</b> datatypes.h:85</div></div>
<div class="ttc" id="datatypes_8h_html_a4e7441bef093bb814165c4eaf713b859ada03bd5b020b1d69907c09dcb1e00b7c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ada03bd5b020b1d69907c09dcb1e00b7c">MOTE_PACKET_BUTTONS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:375</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a2bd6060e9fa9f15571c57e3772546982"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a2bd6060e9fa9f15571c57e3772546982">COMM_SET_CURRENT_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:279</div></div>
<div class="ttc" id="datatypes_8h_html_af3916564ec22a69f58dea8b020011381"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381">mc_comm_mode</a></div><div class="ttdeci">mc_comm_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:46</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aa055e8c6d1e2515a14a1c88b271c3adb7"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa055e8c6d1e2515a14a1c88b271c3adb7">CONTROL_MODE_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:78</div></div>
<div class="ttc" id="structcan__status__msg_html_a25e39b399c2a11f0d76e42ab8241a910"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html#a25e39b399c2a11f0d76e42ab8241a910">can_status_msg::rpm</a></div><div class="ttdeci">float rpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:359</div></div>
<div class="ttc" id="structcan__status__msg_html_a2cbed3b3239da5fee2814530c2815fdb"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html#a2cbed3b3239da5fee2814530c2815fdb">can_status_msg::rx_time</a></div><div class="ttdeci">systime_t rx_time</div><div class="ttdef"><b>Definition:</b> datatypes.h:358</div></div>
<div class="ttc" id="structadc__config_html_a0f81ffa0c15d572fd5f2db1a202cb3a6"><div class="ttname"><a href="../../db/d90/structadc__config.html#a0f81ffa0c15d572fd5f2db1a202cb3a6">adc_config::rev_button_inverted</a></div><div class="ttdeci">bool rev_button_inverted</div><div class="ttdef"><b>Definition:</b> datatypes.h:217</div></div>
<div class="ttc" id="datatypes_8h_html_a31ba5ae9b4a53237b5b76db71ca0299a"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299a">mc_state</a></div><div class="ttdeci">mc_state</div><div class="ttdef"><b>Definition:</b> datatypes.h:33</div></div>
<div class="ttc" id="structmc__configuration_html_a313a93ffd88ae42465aba4dfbe59f412"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a313a93ffd88ae42465aba4dfbe59f412">mc_configuration::l_min_erpm</a></div><div class="ttdeci">float l_min_erpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:103</div></div>
<div class="ttc" id="structchuck__data_html_a255b264700051e2ac0f9068b70da861f"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#a255b264700051e2ac0f9068b70da861f">chuck_data::js_x</a></div><div class="ttdeci">int js_x</div><div class="ttdef"><b>Definition:</b> datatypes.h:347</div></div>
<div class="ttc" id="structmc__configuration_html_af7ca0aa3079984e6db212c28a9dd2a43"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#af7ca0aa3079984e6db212c28a9dd2a43">mc_configuration::s_pid_ki</a></div><div class="ttdeci">float s_pid_ki</div><div class="ttdef"><b>Definition:</b> datatypes.h:137</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a6b2f29dd04923a388f16802c8d0b38cd"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a6b2f29dd04923a388f16802c8d0b38cd">COMM_GET_DECODED_CHUK</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:298</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ae3c68ebf90627972c79369018415d82a"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ae3c68ebf90627972c79369018415d82a">COMM_SET_APPCONF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:286</div></div>
<div class="ttc" id="structmc__configuration_html"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html">mc_configuration</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:91</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505a892af8687978782b4f180b41c1d7f870"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a892af8687978782b4f180b41c1d7f870">LED_EXT_BRAKE_TURN_LEFT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:341</div></div>
<div class="ttc" id="datatypes_8h_html_a31ba5ae9b4a53237b5b76db71ca0299aa597f53cae221342b7f33f0321cf24e11"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa597f53cae221342b7f33f0321cf24e11">MC_STATE_DETECTING</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:35</div></div>
<div class="ttc" id="structapp__configuration_html_ae1fcb181f036475af4fcc877c0573405"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#ae1fcb181f036475af4fcc877c0573405">app_configuration::app_ppm_conf</a></div><div class="ttdeci">ppm_config app_ppm_conf</div><div class="ttdef"><b>Definition:</b> datatypes.h:258</div></div>
<div class="ttc" id="structfault__data_html_af9653d31acfffa5a40aa709b2065e00b"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#af9653d31acfffa5a40aa709b2065e00b">fault_data::current</a></div><div class="ttdeci">float current</div><div class="ttdef"><b>Definition:</b> datatypes.h:319</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a751b0feaf073eca6f93e7d866dd82dc5"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a751b0feaf073eca6f93e7d866dd82dc5">APP_ADC_UART</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:163</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962ab721f6a450fb8ec078f786529b4365e2"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab721f6a450fb8ec078f786529b4365e2">PPM_CTRL_TYPE_PID</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:177</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505a92635634256603a03fad1d57b940dd30"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a92635634256603a03fad1d57b940dd30">LED_EXT_OFF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:336</div></div>
<div class="ttc" id="structadc__config_html_abc0cfadc3208aed2809d929b7949ce75"><div class="ttname"><a href="../../db/d90/structadc__config.html#abc0cfadc3208aed2809d929b7949ce75">adc_config::voltage_start</a></div><div class="ttdeci">float voltage_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:212</div></div>
<div class="ttc" id="structmc__configuration_html_a8dabc758e426163cfab7ea5718231c67"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a8dabc758e426163cfab7ea5718231c67">mc_configuration::l_battery_cut_start</a></div><div class="ttdeci">float l_battery_cut_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:109</div></div>
<div class="ttc" id="structapp__configuration_html_a717df0c5daa0a9d46bb055c05a3f7f8d"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#a717df0c5daa0a9d46bb055c05a3f7f8d">app_configuration::controller_id</a></div><div class="ttdeci">uint8_t controller_id</div><div class="ttdef"><b>Definition:</b> datatypes.h:248</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962ab3c315a9afa1609070eb7af06eebfd7b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962ab3c315a9afa1609070eb7af06eebfd7b">PPM_CTRL_TYPE_DUTY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:175</div></div>
<div class="ttc" id="datatypes_8h_html_adeb53b1ad282fb36244ee735b1dd8d7da06cd901f8d4d629094cef034b71363e3"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#adeb53b1ad282fb36244ee735b1dd8d7da06cd901f8d4d629094cef034b71363e3">CHUK_CTRL_TYPE_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:230</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14a7afb161718e0c92038bb212221870947"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a7afb161718e0c92038bb212221870947">FAULT_CODE_OVER_VOLTAGE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:64</div></div>
<div class="ttc" id="structmc__configuration_html_a48c6623ba051d1d5d1d623e06d917cb5"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a48c6623ba051d1d5d1d623e06d917cb5">mc_configuration::cc_ramp_step_max</a></div><div class="ttdeci">float cc_ramp_step_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:148</div></div>
<div class="ttc" id="structfault__data_html_acb424372bd0ffdc122aab91b749c96dc"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#acb424372bd0ffdc122aab91b749c96dc">fault_data::tim_val_samp</a></div><div class="ttdeci">int tim_val_samp</div><div class="ttdef"><b>Definition:</b> datatypes.h:327</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06abce28f7700145eafabae44ac1c723bce"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abce28f7700145eafabae44ac1c723bce">COMM_ROTOR_POSITION</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:291</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962a5a00595f7737f557c0c5cdc4f3cf6c11"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962a5a00595f7737f557c0c5cdc4f3cf6c11">PPM_CTRL_TYPE_PID_NOREV</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:178</div></div>
<div class="ttc" id="structadc__config_html_a2053cd9e4ef0e3b51e6aa935fa42c45f"><div class="ttname"><a href="../../db/d90/structadc__config.html#a2053cd9e4ef0e3b51e6aa935fa42c45f">adc_config::voltage_inverted</a></div><div class="ttdeci">bool voltage_inverted</div><div class="ttdef"><b>Definition:</b> datatypes.h:218</div></div>
<div class="ttc" id="structfault__data_html_a70f44948d7630be99b15ecac985a502f"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a70f44948d7630be99b15ecac985a502f">fault_data::duty</a></div><div class="ttdeci">float duty</div><div class="ttdef"><b>Definition:</b> datatypes.h:322</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_a041d4ba0303be09df2bcf67b1869365e"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#a041d4ba0303be09df2bcf67b1869365e">mc_rpm_dep_struct::cycle_int_limit_max</a></div><div class="ttdeci">float cycle_int_limit_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:84</div></div>
<div class="ttc" id="structmc__configuration_html_a67aa2cfad7f82694e37f6d94f1e62ffc"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a67aa2cfad7f82694e37f6d94f1e62ffc">mc_configuration::l_temp_motor_end</a></div><div class="ttdeci">float l_temp_motor_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:116</div></div>
<div class="ttc" id="structchuk__config_html_adb12b652190d775d7d98e95fcde39856"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#adb12b652190d775d7d98e95fcde39856">chuk_config::tc</a></div><div class="ttdeci">bool tc</div><div class="ttdef"><b>Definition:</b> datatypes.h:242</div></div>
<div class="ttc" id="structppm__config_html_a67e26f0a581dc7931b59e06f3a9d29e7"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a67e26f0a581dc7931b59e06f3a9d29e7">ppm_config::hyst</a></div><div class="ttdeci">float hyst</div><div class="ttdef"><b>Definition:</b> datatypes.h:184</div></div>
<div class="ttc" id="structmc__configuration_html_a71188a482f49f2632fdc464f21ee5038"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a71188a482f49f2632fdc464f21ee5038">mc_configuration::m_fault_stop_time_ms</a></div><div class="ttdeci">int32_t m_fault_stop_time_ms</div><div class="ttdef"><b>Definition:</b> datatypes.h:150</div></div>
<div class="ttc" id="structapp__configuration_html_aeca087607cd92575d2d8d235537e1e3f"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#aeca087607cd92575d2d8d235537e1e3f">app_configuration::app_adc_conf</a></div><div class="ttdeci">adc_config app_adc_conf</div><div class="ttdef"><b>Definition:</b> datatypes.h:261</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_a001a4ddd0c17d7611243fac30dd323a3"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#a001a4ddd0c17d7611243fac30dd323a3">mc_rpm_dep_struct::comm_time_sum_min_rpm</a></div><div class="ttdeci">float comm_time_sum_min_rpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:86</div></div>
<div class="ttc" id="structapp__configuration_html_ac8ffe30321ad64ca1cf0e404f7b70c29"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#ac8ffe30321ad64ca1cf0e404f7b70c29">app_configuration::app_chuk_conf</a></div><div class="ttdeci">chuk_config app_chuk_conf</div><div class="ttdef"><b>Definition:</b> datatypes.h:267</div></div>
<div class="ttc" id="structmc__configuration_html_a52e2a652f509ca16b7ca8c5a77438ac7"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a52e2a652f509ca16b7ca8c5a77438ac7">mc_configuration::l_max_erpm_fbrake</a></div><div class="ttdeci">float l_max_erpm_fbrake</div><div class="ttdef"><b>Definition:</b> datatypes.h:105</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a729709fcbbc31c151bcbb86c82978c17"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a729709fcbbc31c151bcbb86c82978c17">CAN_PACKET_PROCESS_SHORT_BUFFER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:312</div></div>
<div class="ttc" id="structfault__data_html"><div class="ttname"><a href="../../d0/d6a/structfault__data.html">fault_data</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:317</div></div>
<div class="ttc" id="datatypes_8h_html_a31ba5ae9b4a53237b5b76db71ca0299aa4575e6f70648dde3f7b20f859e54fc28"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a31ba5ae9b4a53237b5b76db71ca0299aa4575e6f70648dde3f7b20f859e54fc28">MC_STATE_RUNNING</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:36</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a4718bd681236c9d28a59aa7a341c9977"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a4718bd681236c9d28a59aa7a341c9977">ADC_CTRL_TYPE_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:198</div></div>
<div class="ttc" id="structmc__configuration_html_a803580baf975490ec04e14c6ab0a8b3d"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a803580baf975490ec04e14c6ab0a8b3d">mc_configuration::m_duty_ramp_step_rpm_lim</a></div><div class="ttdeci">float m_duty_ramp_step_rpm_lim</div><div class="ttdef"><b>Definition:</b> datatypes.h:152</div></div>
<div class="ttc" id="structmc__configuration_html_a5fb012cdba2ef88fcd7e5b8bda58827e"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a5fb012cdba2ef88fcd7e5b8bda58827e">mc_configuration::l_max_vin</a></div><div class="ttdeci">float l_max_vin</div><div class="ttdef"><b>Definition:</b> datatypes.h:108</div></div>
<div class="ttc" id="datatypes_8h_html_a52141ca9e9fa243e4d3ff1bdde611b3aa6648bd5764bb986f570e2842afaec318"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a52141ca9e9fa243e4d3ff1bdde611b3aa6648bd5764bb986f570e2842afaec318">CONTROL_MODE_POS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:77</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ab59b2e56bad686f0f97b612e5ae23bf9"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ab59b2e56bad686f0f97b612e5ae23bf9">COMM_GET_DECODED_ADC</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:297</div></div>
<div class="ttc" id="structchuck__data_html_aacfcc09e5c32e59e920dad5d51925972"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#aacfcc09e5c32e59e920dad5d51925972">chuck_data::acc_y</a></div><div class="ttdeci">int acc_y</div><div class="ttdef"><b>Definition:</b> datatypes.h:350</div></div>
<div class="ttc" id="structmc__configuration_html_ae83b30a96031a38d8673ecab5dced683"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ae83b30a96031a38d8673ecab5dced683">mc_configuration::l_temp_motor_start</a></div><div class="ttdeci">float l_temp_motor_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:115</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a719eb6161f2dc4b77982f3729791e2b2"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a719eb6161f2dc4b77982f3729791e2b2">COMM_ERASE_NEW_APP</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:274</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14">mc_fault_code</a></div><div class="ttdeci">mc_fault_code</div><div class="ttdef"><b>Definition:</b> datatypes.h:62</div></div>
<div class="ttc" id="structppm__config_html_ae0f5e962b4f4f130fa815b8a1d17a24e"><div class="ttname"><a href="../../da/d8f/structppm__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">ppm_config::safe_start</a></div><div class="ttdeci">bool safe_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:188</div></div>
<div class="ttc" id="structmote__state_html"><div class="ttname"><a href="../../db/d02/structmote__state.html">mote_state</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:364</div></div>
<div class="ttc" id="structmc__configuration_html_a01486a7e4db3025bc328ebffeaa6a705"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a01486a7e4db3025bc328ebffeaa6a705">mc_configuration::m_current_backoff_gain</a></div><div class="ttdeci">float m_current_backoff_gain</div><div class="ttdef"><b>Definition:</b> datatypes.h:153</div></div>
<div class="ttc" id="structppm__config_html_a281ed007208faa9df73da0d4ddb35b0a"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a281ed007208faa9df73da0d4ddb35b0a">ppm_config::median_filter</a></div><div class="ttdeci">bool median_filter</div><div class="ttdef"><b>Definition:</b> datatypes.h:187</div></div>
<div class="ttc" id="structmc__configuration_html_a4f615fe7428171eea45871496b65d0f1"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a4f615fe7428171eea45871496b65d0f1">mc_configuration::p_pid_ki</a></div><div class="ttdeci">float p_pid_ki</div><div class="ttdef"><b>Definition:</b> datatypes.h:142</div></div>
<div class="ttc" id="structchuk__config_html_a034d5bee148a1c658826178f3ff0ef6e"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a034d5bee148a1c658826178f3ff0ef6e">chuk_config::ramp_time_pos</a></div><div class="ttdeci">float ramp_time_pos</div><div class="ttdef"><b>Definition:</b> datatypes.h:239</div></div>
<div class="ttc" id="datatypes_8h_html_ab42773941483f82a33725d29d4f9e219"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219">mc_pwm_mode</a></div><div class="ttdeci">mc_pwm_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:40</div></div>
<div class="ttc" id="datatypes_8h_html_a4e7441bef093bb814165c4eaf713b859"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859">MOTE_PACKET</a></div><div class="ttdeci">MOTE_PACKET</div><div class="ttdef"><b>Definition:</b> datatypes.h:373</div></div>
<div class="ttc" id="datatypes_8h_html_a59128a84c10f85387a6e280750e0a478a02a5ef1efdd9c820e91dc498795c29aa"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a59128a84c10f85387a6e280750e0a478a02a5ef1efdd9c820e91dc498795c29aa">MOTOR_TYPE_DC</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:59</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a66fef71e3e029699d0e5559030f545b7"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a66fef71e3e029699d0e5559030f545b7">ADC_CTRL_TYPE_CURRENT_NOREV_BRAKE_BUTTON</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:203</div></div>
<div class="ttc" id="structadc__config_html_ae0f5e962b4f4f130fa815b8a1d17a24e"><div class="ttname"><a href="../../db/d90/structadc__config.html#ae0f5e962b4f4f130fa815b8a1d17a24e">adc_config::safe_start</a></div><div class="ttdeci">bool safe_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:215</div></div>
<div class="ttc" id="structmc__configuration_html_a18eb33967c4b308c0940abfdf0b409dc"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a18eb33967c4b308c0940abfdf0b409dc">mc_configuration::l_in_current_max</a></div><div class="ttdeci">float l_in_current_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:100</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a520020025a8c4d7a47977c9c14afbac4"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a520020025a8c4d7a47977c9c14afbac4">CAN_PACKET_SET_DUTY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:304</div></div>
<div class="ttc" id="structmc__configuration_html_aee0b0da633a6ebee014202131b4ac861"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#aee0b0da633a6ebee014202131b4ac861">mc_configuration::sl_min_erpm_cycle_int_limit</a></div><div class="ttdeci">float sl_min_erpm_cycle_int_limit</div><div class="ttdef"><b>Definition:</b> datatypes.h:126</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06abfb916e6013b1d0a14b6a292cfe8c335"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06abfb916e6013b1d0a14b6a292cfe8c335">COMM_GET_APPCONF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:287</div></div>
<div class="ttc" id="structadc__config_html_a3e9b1c323146cc42a82130c1ed1bea06"><div class="ttname"><a href="../../db/d90/structadc__config.html#a3e9b1c323146cc42a82130c1ed1bea06">adc_config::cc_button_inverted</a></div><div class="ttdeci">bool cc_button_inverted</div><div class="ttdef"><b>Definition:</b> datatypes.h:216</div></div>
<div class="ttc" id="structmc__rpm__dep__struct_html_ac5df70776f630c4f834ab3b7ab6b6aad"><div class="ttname"><a href="../../d2/df7/structmc__rpm__dep__struct.html#ac5df70776f630c4f834ab3b7ab6b6aad">mc_rpm_dep_struct::cycle_int_limit_running</a></div><div class="ttdeci">float cycle_int_limit_running</div><div class="ttdef"><b>Definition:</b> datatypes.h:83</div></div>
<div class="ttc" id="structmc__configuration_html_a0eb54e47a9bf75ccd98d883502a6970b"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a0eb54e47a9bf75ccd98d883502a6970b">mc_configuration::sl_cycle_int_rpm_br</a></div><div class="ttdeci">float sl_cycle_int_rpm_br</div><div class="ttdef"><b>Definition:</b> datatypes.h:130</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14aa7bb0aad7252109fe92a6ab0417d8b22"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14aa7bb0aad7252109fe92a6ab0417d8b22">FAULT_CODE_DRV8302</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:66</div></div>
<div class="ttc" id="structmote__state_html_ab3fe37f9db3ea1d893a6e9d411c5a2e8"><div class="ttname"><a href="../../db/d02/structmote__state.html#ab3fe37f9db3ea1d893a6e9d411c5a2e8">mote_state::vbat</a></div><div class="ttdeci">float vbat</div><div class="ttdef"><b>Definition:</b> datatypes.h:370</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06ac6ded17ab9d4add070d8bf0c41c2145f"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06ac6ded17ab9d4add070d8bf0c41c2145f">COMM_TERMINAL_CMD</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:289</div></div>
<div class="ttc" id="structcan__status__msg_html_a7441ef0865bcb3db9b8064dd7375c1ea"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html#a7441ef0865bcb3db9b8064dd7375c1ea">can_status_msg::id</a></div><div class="ttdeci">int id</div><div class="ttdef"><b>Definition:</b> datatypes.h:357</div></div>
<div class="ttc" id="structapp__configuration_html_a9181ad14758fc2144ab3fa47b6018f43"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#a9181ad14758fc2144ab3fa47b6018f43">app_configuration::timeout_brake_current</a></div><div class="ttdeci">float timeout_brake_current</div><div class="ttdef"><b>Definition:</b> datatypes.h:250</div></div>
<div class="ttc" id="structapp__configuration_html_a28607a6f6405f9f63e1d9821795a9050"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#a28607a6f6405f9f63e1d9821795a9050">app_configuration::app_uart_baudrate</a></div><div class="ttdeci">uint32_t app_uart_baudrate</div><div class="ttdef"><b>Definition:</b> datatypes.h:264</div></div>
<div class="ttc" id="structppm__config_html_a0adcb4125f8defe13178bad39f30b5f9"><div class="ttname"><a href="../../da/d8f/structppm__config.html#a0adcb4125f8defe13178bad39f30b5f9">ppm_config::multi_esc</a></div><div class="ttdeci">bool multi_esc</div><div class="ttdef"><b>Definition:</b> datatypes.h:191</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14a5179ac0d019011be741f3b7f2855929c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a5179ac0d019011be741f3b7f2855929c">FAULT_CODE_NONE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:63</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14af1c8212f6a1da5edbcf32aaa9ecbe007"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14af1c8212f6a1da5edbcf32aaa9ecbe007">FAULT_CODE_ABS_OVER_CURRENT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:67</div></div>
<div class="ttc" id="structapp__configuration_html_a683fbd7162eec3313289bc266a921260"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#a683fbd7162eec3313289bc266a921260">app_configuration::timeout_msec</a></div><div class="ttdeci">uint32_t timeout_msec</div><div class="ttdef"><b>Definition:</b> datatypes.h:249</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3ab6580724ba7e371f11d2a1067a8fbd2f"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3ab6580724ba7e371f11d2a1067a8fbd2f">ADC_CTRL_TYPE_CURRENT_REV_CENTER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:200</div></div>
<div class="ttc" id="datatypes_8h_html_af3916564ec22a69f58dea8b020011381a069f76620cf48a23fbae04002511636b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#af3916564ec22a69f58dea8b020011381a069f76620cf48a23fbae04002511636b">COMM_MODE_DELAY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:48</div></div>
<div class="ttc" id="structfault__data_html_a25e39b399c2a11f0d76e42ab8241a910"><div class="ttname"><a href="../../d0/d6a/structfault__data.html#a25e39b399c2a11f0d76e42ab8241a910">fault_data::rpm</a></div><div class="ttdeci">float rpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:323</div></div>
<div class="ttc" id="structmc__configuration_html_a1ce4b780a12f17319c5a1defc3305794"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a1ce4b780a12f17319c5a1defc3305794">mc_configuration::l_min_vin</a></div><div class="ttdeci">float l_min_vin</div><div class="ttdef"><b>Definition:</b> datatypes.h:107</div></div>
<div class="ttc" id="structmc__configuration_html_a00e6190070063b53a8228af93782341e"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a00e6190070063b53a8228af93782341e">mc_configuration::pwm_mode</a></div><div class="ttdeci">mc_pwm_mode pwm_mode</div><div class="ttdef"><b>Definition:</b> datatypes.h:93</div></div>
<div class="ttc" id="structmc__configuration_html_a40f9e6336b4bebfd7c579cc090ec6fc1"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a40f9e6336b4bebfd7c579cc090ec6fc1">mc_configuration::cc_gain</a></div><div class="ttdeci">float cc_gain</div><div class="ttdef"><b>Definition:</b> datatypes.h:147</div></div>
<div class="ttc" id="structppm__config_html_ad8f148ffc8779a35824ea7f52617d290"><div class="ttname"><a href="../../da/d8f/structppm__config.html#ad8f148ffc8779a35824ea7f52617d290">ppm_config::pulse_start</a></div><div class="ttdeci">float pulse_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:185</div></div>
<div class="ttc" id="structmc__configuration_html_ac8f3cdb8123a874f020098dc2face160"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#ac8f3cdb8123a874f020098dc2face160">mc_configuration::p_pid_kp</a></div><div class="ttdeci">float p_pid_kp</div><div class="ttdef"><b>Definition:</b> datatypes.h:141</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505affd263c424a856a742c7942509a4e82e"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505affd263c424a856a742c7942509a4e82e">LED_EXT_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:338</div></div>
<div class="ttc" id="structadc__config_html_a08878e275186fe365e2e23cc038fed07"><div class="ttname"><a href="../../db/d90/structadc__config.html#a08878e275186fe365e2e23cc038fed07">adc_config::tc_max_diff</a></div><div class="ttdeci">float tc_max_diff</div><div class="ttdef"><b>Definition:</b> datatypes.h:223</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962">ppm_control_type</a></div><div class="ttdeci">ppm_control_type</div><div class="ttdef"><b>Definition:</b> datatypes.h:170</div></div>
<div class="ttc" id="structchuk__config_html_a08878e275186fe365e2e23cc038fed07"><div class="ttname"><a href="../../d1/d77/structchuk__config.html#a08878e275186fe365e2e23cc038fed07">chuk_config::tc_max_diff</a></div><div class="ttdeci">float tc_max_diff</div><div class="ttdef"><b>Definition:</b> datatypes.h:243</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9a9309f6212dc4e4811007e77cb9d3392b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9a9309f6212dc4e4811007e77cb9d3392b">APP_CUSTOM</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:166</div></div>
<div class="ttc" id="structmc__configuration_html_a9e6ad133da71aca2d364a8ada768c353"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a9e6ad133da71aca2d364a8ada768c353">mc_configuration::sl_max_fullbreak_current_dir_change</a></div><div class="ttdeci">float sl_max_fullbreak_current_dir_change</div><div class="ttdef"><b>Definition:</b> datatypes.h:127</div></div>
<div class="ttc" id="structmc__configuration_html_a308a67551f12c4d35b591ae3bb4ef160"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a308a67551f12c4d35b591ae3bb4ef160">mc_configuration::l_temp_fet_start</a></div><div class="ttdeci">float l_temp_fet_start</div><div class="ttdef"><b>Definition:</b> datatypes.h:113</div></div>
<div class="ttc" id="datatypes_8h_html_ab42773941483f82a33725d29d4f9e219acabb6e85aa2905697e61832c74263369"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219acabb6e85aa2905697e61832c74263369">PWM_MODE_BIPOLAR</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:43</div></div>
<div class="ttc" id="datatypes_8h_html_a094cc09d507f9c943512a662d3ebdfd4a30141b1b00d31d46875f48b903ec3ed2"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a094cc09d507f9c943512a662d3ebdfd4a30141b1b00d31d46875f48b903ec3ed2">CAN_PACKET_FILL_RX_BUFFER</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:309</div></div>
<div class="ttc" id="structmc__configuration_html_a1fcbc230c699c0d9c78bdbf6dee5cb37"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a1fcbc230c699c0d9c78bdbf6dee5cb37">mc_configuration::lo_in_current_max</a></div><div class="ttdeci">float lo_in_current_max</div><div class="ttdef"><b>Definition:</b> datatypes.h:122</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505">LED_EXT_STATE</a></div><div class="ttdeci">LED_EXT_STATE</div><div class="ttdef"><b>Definition:</b> datatypes.h:335</div></div>
<div class="ttc" id="structmc__configuration_html_a9a151a98f6a679d95c7bdf854d975380"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a9a151a98f6a679d95c7bdf854d975380">mc_configuration::l_slow_abs_current</a></div><div class="ttdeci">bool l_slow_abs_current</div><div class="ttdef"><b>Definition:</b> datatypes.h:111</div></div>
<div class="ttc" id="structmc__configuration_html_afd9fb53e51368d7897b5a9a04964ff93"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#afd9fb53e51368d7897b5a9a04964ff93">mc_configuration::l_min_duty</a></div><div class="ttdeci">float l_min_duty</div><div class="ttdef"><b>Definition:</b> datatypes.h:117</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9abd1314099570c43e7a9ad4029f1c85c7"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9abd1314099570c43e7a9ad4029f1c85c7">APP_NUNCHUK</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:164</div></div>
<div class="ttc" id="structapp__configuration_html_ab07c6709ecea9b0050dc9715a9b6691c"><div class="ttname"><a href="../../d6/dc1/structapp__configuration.html#ab07c6709ecea9b0050dc9715a9b6691c">app_configuration::send_can_status_rate_hz</a></div><div class="ttdeci">uint32_t send_can_status_rate_hz</div><div class="ttdef"><b>Definition:</b> datatypes.h:252</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06afc4a70ff0738b5c0970972b3b73398d0"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06afc4a70ff0738b5c0970972b3b73398d0">COMM_SET_MCCONF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:284</div></div>
<div class="ttc" id="structmote__state_html_acd68d783e852df0a016dcafb44402f86"><div class="ttname"><a href="../../db/d02/structmote__state.html#acd68d783e852df0a016dcafb44402f86">mote_state::bt_c</a></div><div class="ttdeci">bool bt_c</div><div class="ttdef"><b>Definition:</b> datatypes.h:367</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a0d49a9291ac112070057347d466ed14f"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a0d49a9291ac112070057347d466ed14f">COMM_SET_SERVO_POS</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:283</div></div>
<div class="ttc" id="datatypes_8h_html_a8b0985db03d6f1c46c55807b43b50ed9ab459c63068f2959408fbc77bb731ee68"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a8b0985db03d6f1c46c55807b43b50ed9ab459c63068f2959408fbc77bb731ee68">APP_PPM_UART</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:162</div></div>
<div class="ttc" id="datatypes_8h_html_ab42773941483f82a33725d29d4f9e219a57ce0c15afd4db65a1fb04ff65ea7d4c"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#ab42773941483f82a33725d29d4f9e219a57ce0c15afd4db65a1fb04ff65ea7d4c">PWM_MODE_NONSYNCHRONOUS_HISW</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:41</div></div>
<div class="ttc" id="datatypes_8h_html_a78ad3e15a811eaff80192a9e08a77505a525f0b00138d9c57963ba14d875c77c8"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a78ad3e15a811eaff80192a9e08a77505a525f0b00138d9c57963ba14d875c77c8">LED_EXT_TURN_LEFT</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:339</div></div>
<div class="ttc" id="structmc__configuration_html_a964e8103e9e1200a63f0cd2fbedf4a9d"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#a964e8103e9e1200a63f0cd2fbedf4a9d">mc_configuration::l_temp_fet_end</a></div><div class="ttdeci">float l_temp_fet_end</div><div class="ttdef"><b>Definition:</b> datatypes.h:114</div></div>
<div class="ttc" id="datatypes_8h_html_a14705f90120ef780cd5aa6ecc24f7962af7efb4895bdbfef16233d521d10880ce"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a14705f90120ef780cd5aa6ecc24f7962af7efb4895bdbfef16233d521d10880ce">PPM_CTRL_TYPE_CURRENT_NOREV_BRAKE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:174</div></div>
<div class="ttc" id="datatypes_8h_html_a4e7441bef093bb814165c4eaf713b859ae7d08b319cae44cdaed6797bd184a22d"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a4e7441bef093bb814165c4eaf713b859ae7d08b319cae44cdaed6797bd184a22d">MOTE_PACKET_ALIVE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:376</div></div>
<div class="ttc" id="structmc__configuration_html_af80f4859ec2d84aa984c97ef356b758b"><div class="ttname"><a href="../../d5/d42/structmc__configuration.html#af80f4859ec2d84aa984c97ef356b758b">mc_configuration::sl_min_erpm</a></div><div class="ttdeci">float sl_min_erpm</div><div class="ttdef"><b>Definition:</b> datatypes.h:125</div></div>
<div class="ttc" id="structchuck__data_html"><div class="ttname"><a href="../../da/d9b/structchuck__data.html">chuck_data</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:346</div></div>
<div class="ttc" id="datatypes_8h_html_a29724157fc2c874a0bafeb059b571d14a319ff357d75452048d17d79501bd5c24"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a29724157fc2c874a0bafeb059b571d14a319ff357d75452048d17d79501bd5c24">FAULT_CODE_OVER_TEMP_FET</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:68</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06af45c7bd521782fe5ad918ea51b7410ba"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06af45c7bd521782fe5ad918ea51b7410ba">COMM_ALIVE</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:295</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a8e1da6ec3e3830364882a22d0ea5d7da"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a8e1da6ec3e3830364882a22d0ea5d7da">COMM_GET_MCCONF</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:285</div></div>
<div class="ttc" id="datatypes_8h_html_a185554b5aedce3cc1935ff0a2e3e60e3a35bfb399655f86ba7e3f5c111b11bd18"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#a185554b5aedce3cc1935ff0a2e3e60e3a35bfb399655f86ba7e3f5c111b11bd18">ADC_CTRL_TYPE_DUTY</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:204</div></div>
<div class="ttc" id="structcan__status__msg_html_a70f44948d7630be99b15ecac985a502f"><div class="ttname"><a href="../../db/dbf/structcan__status__msg.html#a70f44948d7630be99b15ecac985a502f">can_status_msg::duty</a></div><div class="ttdeci">float duty</div><div class="ttdef"><b>Definition:</b> datatypes.h:361</div></div>
<div class="ttc" id="structchuck__data_html_a33ceb865cadc673b73d6c1ac14ab39e5"><div class="ttname"><a href="../../da/d9b/structchuck__data.html#a33ceb865cadc673b73d6c1ac14ab39e5">chuck_data::bt_z</a></div><div class="ttdeci">bool bt_z</div><div class="ttdef"><b>Definition:</b> datatypes.h:353</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a18ede091afd50bc8082e937caba1b64a"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a18ede091afd50bc8082e937caba1b64a">COMM_FORWARD_CAN</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:299</div></div>
<div class="ttc" id="datatypes_8h_html_aa2363afa25225dc719506b23d25d7a06a48b9e57fbee927c5c82b58d68e463f2b"><div class="ttname"><a href="../../dc/d51/datatypes_8h.html#aa2363afa25225dc719506b23d25d7a06a48b9e57fbee927c5c82b58d68e463f2b">COMM_WRITE_NEW_APP_DATA</a></div><div class="ttdef"><b>Definition:</b> datatypes.h:275</div></div>
<div class="ttc" id="structadc__config_html_a0adcb4125f8defe13178bad39f30b5f9"><div class="ttname"><a href="../../db/d90/structadc__config.html#a0adcb4125f8defe13178bad39f30b5f9">adc_config::multi_esc</a></div><div class="ttdeci">bool multi_esc</div><div class="ttdef"><b>Definition:</b> datatypes.h:221</div></div>
</div><!-- fragment --></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://github.com/joshdellay" target="_new">Josh Dellay</a>